Hi,
I am running Ubuntu hardy 8.04LTS (2.6.24-23-server) and postfix 2.5.1-2.
Btw, I changed mpd.sock to /var/run/mwes/
Below are my mwes.log, mail.info, main.cf and master.cf
my mwes log:
2009-03-20 11:04:17 [3084040512] Info: starting mwes version 2.6.3 {U}
2009-03-20 11:04:17 [3084040512] Info: environment....
2009-03-20 11:04:17 [3084040512] Info: database_location::/opt/mwes
2009-03-20 11:04:17 [3084040512] Info: listen_port::4044
2009-03-20 11:04:17 [3084040512] Info: log_level::2
2009-03-20 11:04:17 [3084040512] Info: logging::/var/log/mwes/
2009-03-20 11:04:17 [3084040512] Info: milter_port::unix:/var/run/mwes/mpd.sock
2009-03-20 11:04:17 [3084040512] Info: root_document::/opt/mwes/mwes/
2009-03-20 11:04:17 [3084040512] Info: Initialising WebManager....
2009-03-20 11:04:17 [3084040512] Info: Initialising database....
2009-03-20 11:04:17 [3084040512] Error: DatabaseManager::Create - failed - SqlLite::OpenCheck - failed on read only
2009-03-20 11:04:17 [3084040512] Info: Create database - /opt/mwes/mwes.db
2009-03-20 11:04:17 [3084040512] Info: Create Table - group
2009-03-20 11:04:18 [3084040512] Info: Create Table - configure
2009-03-20 11:04:18 [3084040512] Info: Create Table - rbl_list
2009-03-20 11:04:18 [3084040512] Info: Create Table - white_listing
2009-03-20 11:04:18 [3084040512] Info: Create Table - black_listing
2009-03-20 11:04:18 [3084040512] Info: Create Table - email_header_type
2009-03-20 11:04:18 [3084040512] Info: Create Table - search_type
2009-03-20 11:04:18 [3084040512] Info: Create Table - filter_black_listing
2009-03-20 11:04:18 [3084040512] Info: Create Table - filter_white_listing
2009-03-20 11:04:18 [3084040512] Info: Create Table - quarantined_by
2009-03-20 11:04:18 [3084040512] Info: Create Table - quarantined
2009-03-20 11:04:18 [3084040512] Info: Create Table - gray_listing
2009-03-20 11:04:18 [3084040512] Info: Create Table - white_listing_ip
2009-03-20 11:04:18 [3084040512] Info: Initialising database configure table....
2009-03-20 11:04:18 [3084040512] Info: Initialising database white listing table....
2009-03-20 11:04:18 [3084040512] Info: Initialising database black listing table....
2009-03-20 11:04:18 [3084040512] Info: Not written... Initialising database filter white listing table....
2009-03-20 11:04:18 [3084040512] Info: Initialising database filter black listing table....
2009-03-20 11:04:18 [3084040512] Info: Initialising database rbl listing table....
2009-03-20 11:04:18 [3084040512] Info: Initialising database quarantined table....
2009-03-20 11:04:18 [3084040512] Info: Initialising database gray listing table....
2009-03-20 11:04:18 [3084040512] Info: Initialising database white listing ip table....
2009-03-20 11:04:18 [3084040512] Info: Starting StatThread....
2009-03-20 11:04:18 [3084040512] Info: Starting FilterManagerThreads....
2009-03-20 11:04:18 [3084040512] Info: Starting UploadManagerThread....
2009-03-20 11:04:18 [3084040512] Info: Starting ExchangeConduitThread....
2009-03-20 11:04:18 [3084040512] Info: Starting MilterConduitThread....
2009-03-20 11:04:18 [3084040512] Info: Starting HouseKeepingTask....
2009-03-20 11:07:29 [3000109968] Error: WebChannel::ObjectThreadMethod - exception - basic_string::substr
2009-03-20 11:40:38 [3084040512] Info: Shutdown HouseKeepingTask....
2009-03-20 11:40:38 [3084040512] Info: Shutdown WebManager....
2009-03-20 11:40:39 [3084040512] Info: Shutdown ExchangeConduitThread....
2009-03-20 11:40:40 [3084040512] Info: Shutdown MilterConduitThread....
2009-03-20 11:40:40 [3084040512] Info: Shutdown FilterManagerThreads....
2009-03-20 11:40:40 [3058858896] Info: FilterManagerThread::ObjectThreadMethod - ending
2009-03-20 11:40:40 [3084040512] Info: Shutdown UploadManagerThread....
2009-03-20 11:40:40 [3050466192] Info: UploadManagerThread::ObjectThreadMethod - ending
2009-03-20 11:40:40 [3084040512] Info: Shutdown StatThread....
2009-03-20 11:40:41 [3084040512] Info: Close database....
2009-03-20 11:40:41 [3084040512] Info: Ending MWES....
2009-03-20 11:42:19 [3083483456] Info: starting mwes version 2.6.3 {U}
2009-03-20 11:42:19 [3083483456] Info: environment....
2009-03-20 11:42:19 [3083483456] Info: database_location::/opt/mwes
2009-03-20 11:42:19 [3083483456] Info: listen_port::4044
2009-03-20 11:42:19 [3083483456] Info: log_level::2
2009-03-20 11:42:19 [3083483456] Info: logging::/var/log/mwes/
2009-03-20 11:42:19 [3083483456] Info: milter_port::unix:/var/run/mwes/mpd.sock
2009-03-20 11:42:19 [3083483456] Info: root_document::/opt/mwes/mwes/
2009-03-20 11:42:19 [3083483456] Info: Initialising WebManager....
2009-03-20 11:42:19 [3083483456] Info: Initialising database....
2009-03-20 11:42:19 [3083483456] Info: Initialising database configure table....
2009-03-20 11:42:19 [3083483456] Info: Initialising database white listing table....
2009-03-20 11:42:19 [3083483456] Info: Initialising database black listing table....
2009-03-20 11:42:19 [3083483456] Info: Not written... Initialising database filter white listing table....
2009-03-20 11:42:19 [3083483456] Info: Initialising database filter black listing table....
2009-03-20 11:42:19 [3083483456] Info: Initialising database rbl listing table....
2009-03-20 11:42:19 [3083483456] Info: Initialising database quarantined table....
2009-03-20 11:42:19 [3083483456] Info: Initialising database gray listing table....
2009-03-20 11:42:19 [3083483456] Info: Initialising database white listing ip table....
2009-03-20 11:42:19 [3083483456] Info: DatabaseManager::UpgradeDatabase - version 8 ok
2009-03-20 11:42:19 [3083483456] Info: Starting StatThread....
2009-03-20 11:42:19 [3083483456] Info: Starting FilterManagerThreads....
2009-03-20 11:42:19 [3083483456] Info: Starting UploadManagerThread....
2009-03-20 11:42:19 [3083483456] Info: Starting ExchangeConduitThread....
2009-03-20 11:42:19 [3083483456] Info: Starting MilterConduitThread....
2009-03-20 11:42:19 [3083483456] Info: Starting HouseKeepingTask....
2009-03-20 11:42:19 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:21 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:23 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:25 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:27 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:29 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:31 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:33 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:35 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:38 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:40 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:42 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:44 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:46 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:48 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:50 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:52 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
2009-03-20 11:42:54 [3033123728] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
My mail.log:
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const verify
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const trace
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 100s
Mar 20 13:48:13 sg1-mwes01 last message repeated 3 times
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 3600s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 3600s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 5s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 5s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 1000s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 1000s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 10s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 10s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 1s
Mar 20 13:48:13 sg1-mwes01 last message repeated 3 times
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 500s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 500s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 18000s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 18000s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 1s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 1s
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const 127.0.0.0/8
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: inet_addr_local: configured 2 IPv4 addresses
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const /usr/sbin/sendmail
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const /usr/bin/mailq
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const /usr/bin/newaliases
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const /usr/share/man
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const /usr/share/doc/postfix/examples
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const /usr/share/doc/postfix
Mar 20 13:48:13 sg1-mwes01 postfix[5329]: dict_eval: const no
Mar 20 13:48:13 sg1-mwes01 postfix/postfix-script[5330]: fatal: usage: postfix start (or stop, reload, abort, flush, check, status, set-permissions, upgrade-configuration)
Mar 20 13:52:36 sg1-mwes01 postfix/qmgr[4507]: 50D1C121F7: from=<>, size=3869, nrcpt=1 (queue active)
Mar 20 13:52:36 sg1-mwes01 postfix/qmgr[4507]: 4495D12217: from=<>, size=5701, nrcpt=1 (queue active)
Mar 20 13:52:36 sg1-mwes01 postfix/qmgr[4507]: 4DA90121EE: from=<>, size=4859, nrcpt=1 (queue active)
Mar 20 13:52:37 sg1-mwes01 postfix/smtp[5336]: 50D1C121F7: lost connection with q0.netfirms.com[70.42.30.235] while receiving the initial server greeting
Mar 20 13:52:38 sg1-mwes01 postfix/smtp[5339]: 4DA90121EE: to=<
[email protected]>, relay=mxlb.ispgateway.de[80.67.18.126]:25, delay=17208, delays=17206/0.22/1.7/0, dsn=4.0.0, status=deferred (host mxlb.ispgateway.de[80.67.18.126] refused to talk to me: 550 No reverse dns for IP 202.42.148.85. Help at/Hilfe unter
http://www.mfaq.info)
Mar 20 13:52:38 sg1-mwes01 postfix/smtp[5336]: 50D1C121F7: lost connection with q0.netfirms.com[70.42.30.11] while receiving the initial server greeting
Mar 20 13:52:39 sg1-mwes01 postfix/smtp[5336]: 50D1C121F7: lost connection with q0.netfirms.com[70.42.30.203] while receiving the initial server greeting
Mar 20 13:52:39 sg1-mwes01 postfix/smtp[5336]: 50D1C121F7: lost connection with q0.netfirms.com[70.42.30.107] while receiving the initial server greeting
Mar 20 13:52:40 sg1-mwes01 postfix/smtp[5336]: 50D1C121F7: to=<
[email protected]>, relay=q0.netfirms.com[70.42.30.139]:25, delay=17182, delays=17178/0.21/4.1/0, dsn=4.4.2, status=deferred (lost connection with q0.netfirms.com[70.42.30.139] while receiving the initial server greeting)
Mar 20 13:53:07 sg1-mwes01 postfix/smtp[5338]: connect to mail2.giftworldnet.com[75.23.7.49]:25: Connection timed out
Mar 20 13:53:07 sg1-mwes01 postfix/smtp[5338]: 4495D12217: to=<
[email protected]>, relay=none, delay=15284, delays=15253/0.2/31/0, dsn=4.4.1, status=deferred (connect to mail2.giftworldnet.com[75.23.7.49]:25: Connection timed out)
Mar 20 13:53:59 sg1-mwes01 postfix/smtpd[5341]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Mar 20 13:53:59 sg1-mwes01 postfix/smtpd[5341]: connect from ip-87-238-8-21.static.adsl.cheapnet.it[87.238.8.21]
Mar 20 13:53:59 sg1-mwes01 postfix/smtpd[5341]: warning: connect to Milter service unix:/var/run/mwes/mpd.sock: No such file or directory
Mar 20 13:54:01 sg1-mwes01 postfix/smtpd[5341]: 79ECB12205: client=ip-87-238-8-21.static.adsl.cheapnet.it[87.238.8.21]
Mar 20 13:54:02 sg1-mwes01 postfix/cleanup[5344]: 79ECB12205: message-id=<
[email protected]>
Mar 20 13:54:02 sg1-mwes01 postfix/qmgr[4507]: 79ECB12205: from=<
[email protected]>, size=742, nrcpt=1 (queue active)
Mar 20 13:54:02 sg1-mwes01 postfix/smtp[5339]: 79ECB12205: to=<
[email protected]>, relay=202.42.148.86[202.42.148.86]:25, delay=2, delays=1.9/0/0.02/0.09, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as C6C5B8322E4)
Mar 20 13:54:02 sg1-mwes01 postfix/qmgr[4507]: 79ECB12205: removed
Mar 20 13:54:03 sg1-mwes01 postfix/smtpd[5341]: disconnect from ip-87-238-8-21.static.adsl.cheapnet.it[87.238.8.21]
Mar 20 13:55:41 sg1-mwes01 postfix/smtpd[5354]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
My main.cf
myhostname = mail.xxx.xxx
unknown_local_recipient_reject_code = 550
mynetworks = 127.0.0.0/8
relay_domains = $transport_maps
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
#setgid_group = postdrop
transport_maps = proxy:mysql:$config_directory/mysql_transport_maps.cf
#header_checks = pcre:$config_directory/header_checks
nested_header_checks =
smtpd_recipient_restrictions =
permit_mynetworks
reject_unauth_destination
permit
#smtpd_milters = unix:/opt/mwes/mpd.sock
smtpd_milters = unix:/var/run/mwes/mpd.sock
milter_default_action = accept
master.cf
smtp inet n - - - - smtpd
-o disable_mime_output_conversion=yes
#submission inet n - - - - smtpd
# -o smtpd_tls_security_level=encrypt
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}