Hi,
Saw it from the introduction page that it now support postfix.
May I know where I can find info on the installation with postfix.
Thanks
CH
Mailwasher Entreprise with postfix
- ajt
- would rather be watching cricket
- Contact:
- Location: Auckland, New Zealand
Post
Re: Mailwasher Entreprise with postfix
Hi,
Installation of MWES running on Linux/Postfix is the standard one. Read the related help file.
Mailwasher Enterprise (MWES) can be defined as Content Filter in "master.cf" file.
Cheers
Installation of MWES running on Linux/Postfix is the standard one. Read the related help file.
Mailwasher Enterprise (MWES) can be defined as Content Filter in "master.cf" file.
Cheers
- chquek
- Student Sheep
Post
Re: Mailwasher Entreprise with postfix
Hi,
Thanks for the reply. But where is the related help file? I search thru' the untar folder and can't see anything relating to postfix.
Thanks for the reply. But where is the related help file? I search thru' the untar folder and can't see anything relating to postfix.
- ajt
- would rather be watching cricket
- Contact:
- Location: Auckland, New Zealand
Post
Re: Mailwasher Entreprise with postfix
Hi,
Have you gone through README?
We are in process of writing hints for other MTA's beside Sendmail.
For Postfix add below in "main.cf" file:
smtpd_milters = unix:/var/run/mwes/mpd.sock
milter_default_action = accept
MWES is a using SMTP so add following in "master.cf"
-o disable_mime_output_conversion=yes
Hope it helps,
Cheers.
Have you gone through README?
We are in process of writing hints for other MTA's beside Sendmail.
For Postfix add below in "main.cf" file:
smtpd_milters = unix:/var/run/mwes/mpd.sock
milter_default_action = accept
MWES is a using SMTP so add following in "master.cf"
-o disable_mime_output_conversion=yes
Hope it helps,
Cheers.
- chquek
- Student Sheep
Post
Re: Mailwasher Entreprise with postfix
Hi,
I added in "master.cf"
-o disable_mime_output_conversion=yes
but there's an error in my mail.log saying:
mail postfix/master[4940]: fatal: /etc/postfix/master.cf: line 23: bad transport type: disable_mime_output_conversion=yes
Did I miss anything? or should i put this disable_mime_output_conversion=yes in the main.cf instead?
Thanks
I added in "master.cf"
-o disable_mime_output_conversion=yes
but there's an error in my mail.log saying:
mail postfix/master[4940]: fatal: /etc/postfix/master.cf: line 23: bad transport type: disable_mime_output_conversion=yes
Did I miss anything? or should i put this disable_mime_output_conversion=yes in the main.cf instead?
Thanks
- ajt
- would rather be watching cricket
- Contact:
- Location: Auckland, New Zealand
Post
Re: Mailwasher Entreprise with postfix
Hi,
May be it was not added in the particular field at Master.cf? anyway remove this option and try?
Cheers
May be it was not added in the particular field at Master.cf? anyway remove this option and try?
Cheers
- chquek
- Student Sheep
Post
Re: Mailwasher Entreprise with postfix
Hi,
Now I get this error in the mail.log:
Mar 20 07:28:59 mail postfix/smtpd[5369]: warning: connect to Milter service unix:/opt/mwes/mpd.sock: No such file or directory
And also I see the following error in mwes log:
2009-03-20 07:09:23 [3032865680] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
Is it the permission issue?
Thanks.
Now I get this error in the mail.log:
Mar 20 07:28:59 mail postfix/smtpd[5369]: warning: connect to Milter service unix:/opt/mwes/mpd.sock: No such file or directory
And also I see the following error in mwes log:
2009-03-20 07:09:23 [3032865680] Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed
Is it the permission issue?
Thanks.
- ajt
- would rather be watching cricket
- Contact:
- Location: Auckland, New Zealand
Post
Re: Mailwasher Entreprise with postfix
Hi,
Are you sure you executed "run script ./install" as root? In MWES installation every thing is handled by INSTALL script user has to define milter location in *.cf files.
Logs shows permission issue.
Apply following commands:
#chown -R mwes:mwes /var/run/mwes/
#chmod -R 744 /var/run/mwes/
same for opt/mwes directory.
Cheers
Are you sure you executed "run script ./install" as root? In MWES installation every thing is handled by INSTALL script user has to define milter location in *.cf files.
Logs shows permission issue.
Apply following commands:
#chown -R mwes:mwes /var/run/mwes/
#chmod -R 744 /var/run/mwes/
same for opt/mwes directory.
Cheers
- chquek
- Student Sheep
Post
Re: Mailwasher Entreprise with postfix
Hi,
I did a re-install and apply the commands you have given above.
Now the "Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed" is gone but I get any error in mwes log:
Error: WebChannel::ObjectThreadMethod - exception - basic_string::substr
Even though I can see mpd.sock in /opt/mwes/ directory, the mail log still show:
warning: connect to Milter service unix:/opt/mwes/mpd.sock: No such file or directory
I also change the permission to srwxrwxrwx mpd.sock but doesn't help.
Do you manage to set it up using postfix? Do you mind posting your main.cf and master.cf?
I did a re-install and apply the commands you have given above.
Now the "Error: MilterConduitThread::ObjectThreadMethod - IMilterException - IMilter::Create - smfi_main failed" is gone but I get any error in mwes log:
Error: WebChannel::ObjectThreadMethod - exception - basic_string::substr
Even though I can see mpd.sock in /opt/mwes/ directory, the mail log still show:
warning: connect to Milter service unix:/opt/mwes/mpd.sock: No such file or directory
I also change the permission to srwxrwxrwx mpd.sock but doesn't help.
Do you manage to set it up using postfix? Do you mind posting your main.cf and master.cf?
- ajt
- would rather be watching cricket
- Contact:
- Location: Auckland, New Zealand
Post
Re: Mailwasher Entreprise with postfix
Hi,
Could you post OS/Postfix version so I can simulate the issue at my end. Would be better to paste mail & mwes logs.
Cheers
Could you post OS/Postfix version so I can simulate the issue at my end. Would be better to paste mail & mwes logs.
Cheers
- chquek
- Student Sheep
Post
Re: Mailwasher Entreprise with postfix
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=<adlerr4@ideewerbung.com>, 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=<mopsjok79@beckernetworks.com>, 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=<giggle9@oodlesgiftshop.com>, 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=<20090320055401.79ECB12205@sg1-mwes01.kodaltd.com>
Mar 20 13:54:02 sg1-mwes01 postfix/qmgr[4507]: 79ECB12205: from=<fancy-smithery@HOTELBEIRAMAR.COM.BR>, size=742, nrcpt=1 (queue active)
Mar 20 13:54:02 sg1-mwes01 postfix/smtp[5339]: 79ECB12205: to=<lmlai@kodaltd.com>, 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}
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=<adlerr4@ideewerbung.com>, 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=<mopsjok79@beckernetworks.com>, 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=<giggle9@oodlesgiftshop.com>, 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=<20090320055401.79ECB12205@sg1-mwes01.kodaltd.com>
Mar 20 13:54:02 sg1-mwes01 postfix/qmgr[4507]: 79ECB12205: from=<fancy-smithery@HOTELBEIRAMAR.COM.BR>, size=742, nrcpt=1 (queue active)
Mar 20 13:54:02 sg1-mwes01 postfix/smtp[5339]: 79ECB12205: to=<lmlai@kodaltd.com>, 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}
- ajt
- would rather be watching cricket
- Contact:
- Location: Auckland, New Zealand
Post
Re: Mailwasher Entreprise with postfix
It seems Postfix is not happy to talk to mwes socket.
Revert any changes you made to mwes or its directories or uninstall mwes and reinstall to keep things simple
Try following:
Open /etc/mwes.conf
Comment all entries of milter_port and add following
milter_port=inet:4049@127.0.0.1
Stop/Start mwes
Edit /etc/postfix/main.cf
Change smtpd_milters = unix:/var/run/mwes/mdp.sock
to
smtpd_milters = inet:127.0.0.1:4049
Restart Postfix. (Make sure mwes start first and after that postfix)
Cheers
Revert any changes you made to mwes or its directories or uninstall mwes and reinstall to keep things simple
Try following:
Open /etc/mwes.conf
Comment all entries of milter_port and add following
milter_port=inet:4049@127.0.0.1
Stop/Start mwes
Edit /etc/postfix/main.cf
Change smtpd_milters = unix:/var/run/mwes/mdp.sock
to
smtpd_milters = inet:127.0.0.1:4049
Restart Postfix. (Make sure mwes start first and after that postfix)
Cheers
- chquek
- Student Sheep
Post
Re: Mailwasher Entreprise with postfix
Yeah! It works!
Thank you so much for your help.
Just a few more things to check with you.
1. After I do a rescue in the Quarantine, should the mail still appear in there? Mine does. Is it normal?
2. What if I receive a false negative (spam), any way of retraining it?
Regards
CH
Thank you so much for your help.
Just a few more things to check with you.
1. After I do a rescue in the Quarantine, should the mail still appear in there? Mine does. Is it normal?
2. What if I receive a false negative (spam), any way of retraining it?
Regards
CH
- ajt
- would rather be watching cricket
- Contact:
- Location: Auckland, New Zealand
Post
Re: Mailwasher Entreprise with postfix
Hi,
Glad to see its working now
If email is being delivered to recipient then nothing to worry about, quarantine holds log till 7 days and then it is purged.
Future mwes releases would have these features, we are currently working on scalability and efficiency these bits will be added later.
Are you using mwes 2.63? It does has cool features like Grey Listing If not download and try.
Cheers
Glad to see its working now
If email is being delivered to recipient then nothing to worry about, quarantine holds log till 7 days and then it is purged.
Future mwes releases would have these features, we are currently working on scalability and efficiency these bits will be added later.
Are you using mwes 2.63? It does has cool features like Grey Listing If not download and try.
Cheers
- chquek
- Student Sheep
Post
Re: Mailwasher Entreprise with postfix
After running it for a while, I noticed that Mailwasher will stop work after every few hours and I will have to run "/etc/init.d/mwesd start" again.
I checked the mwesd log and it doesn't show any error:
Partial mwesd log:
2009-03-21 14:03:40 [3066911632] Info: Processed = 339 - 13, Emails(ok) = 49 - 0, FA = 170 - 12, RBL = 119 - 1, Black listed = 0 - 0, Custom filter = 0 - 0, FA(IP) = 0 - 0, Empty Email Body = 0 - 0, Uploaded = 119 - 1,
2009-03-21 14:09:21 [3066911632] Info: Processed = 343 - 4, Emails(ok) = 49 - 0, FA = 174 - 4, RBL = 119 - 0, Black listed = 0 - 0, Custom filter = 0 - 0, FA(IP) = 0 - 0, Empty Email Body = 0 - 0, Uploaded = 119 - 0,
2009-03-21 14:10:19 [3066911632] Info: Processed = 344 - 1, Emails(ok) = 49 - 0, FA = 175 - 1, RBL = 119 - 0, Black listed = 0 - 0, Custom filter = 0 - 0, FA(IP) = 0 - 0, Empty Email Body = 0 - 0, Uploaded = 119 - 0,
2009-03-21 14:10:44 [3066911632] Info: Processed = 347 - 3, Emails(ok) = 51 - 2, FA = 175 - 0, RBL = 121 - 2, Black listed = 0 - 0, Custom filter = 0 - 0, FA(IP) = 0 - 0, Empty Email Body = 0 - 0, Uploaded = 121 - 2,
2009-03-21 20:11:05 [3084130624] Info: starting mwes version 2.6.3 {U}
2009-03-21 20:11:05 [3084130624] Info: environment....
2009-03-21 20:11:05 [3084130624] Info: database_location::/opt/mwes
2009-03-21 20:11:05 [3084130624] Info: listen_port::4044
2009-03-21 20:11:05 [3084130624] Info: log_level::2
2009-03-21 20:11:05 [3084130624] Info: logging::/var/log/mwes/
2009-03-21 20:11:05 [3084130624] Info: milter_port::inet:4049@127.0.0.1
2009-03-21 20:11:05 [3084130624] Info: root_document::/opt/mwes/mwes/
2009-03-21 20:11:05 [3084130624] Info: Initialising WebManager....
2009-03-21 20:11:05 [3084130624] Info: Initialising database....
2009-03-21 20:11:05 [3084130624] Info: Initialising database configure table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database white listing table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database black listing table....
2009-03-21 20:11:05 [3084130624] Info: Not written... Initialising database filter white listing table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database filter black listing table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database rbl listing table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database quarantined table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database gray listing table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database white listing ip table....
2009-03-21 20:11:05 [3084130624] Info: DatabaseManager::UpgradeDatabase - version 8 ok
2009-03-21 20:11:05 [3084130624] Info: Starting StatThread....
2009-03-21 20:11:05 [3084130624] Info: Starting FilterManagerThreads....
2009-03-21 20:11:05 [3084130624] Info: Starting UploadManagerThread....
2009-03-21 20:11:05 [3084130624] Info: Starting ExchangeConduitThread....
2009-03-21 20:11:05 [3084130624] Info: Starting MilterConduitThread....
2009-03-21 20:11:05 [3084130624] Info: Starting HouseKeepingTask....
2009-03-21 20:12:49 [3067341712] Info: Processed = 1 - 1, Emails(ok) = 0 - 0, FA = 0 - 0, RBL = 0 - 0, Black listed = 0 - 0, Custom filter = 0 - 0, FA(IP) = 0 - 0, Empty Email Body = 0 - 0, Uploaded = 0 - 0,
I checked the mwesd log and it doesn't show any error:
Partial mwesd log:
2009-03-21 14:03:40 [3066911632] Info: Processed = 339 - 13, Emails(ok) = 49 - 0, FA = 170 - 12, RBL = 119 - 1, Black listed = 0 - 0, Custom filter = 0 - 0, FA(IP) = 0 - 0, Empty Email Body = 0 - 0, Uploaded = 119 - 1,
2009-03-21 14:09:21 [3066911632] Info: Processed = 343 - 4, Emails(ok) = 49 - 0, FA = 174 - 4, RBL = 119 - 0, Black listed = 0 - 0, Custom filter = 0 - 0, FA(IP) = 0 - 0, Empty Email Body = 0 - 0, Uploaded = 119 - 0,
2009-03-21 14:10:19 [3066911632] Info: Processed = 344 - 1, Emails(ok) = 49 - 0, FA = 175 - 1, RBL = 119 - 0, Black listed = 0 - 0, Custom filter = 0 - 0, FA(IP) = 0 - 0, Empty Email Body = 0 - 0, Uploaded = 119 - 0,
2009-03-21 14:10:44 [3066911632] Info: Processed = 347 - 3, Emails(ok) = 51 - 2, FA = 175 - 0, RBL = 121 - 2, Black listed = 0 - 0, Custom filter = 0 - 0, FA(IP) = 0 - 0, Empty Email Body = 0 - 0, Uploaded = 121 - 2,
2009-03-21 20:11:05 [3084130624] Info: starting mwes version 2.6.3 {U}
2009-03-21 20:11:05 [3084130624] Info: environment....
2009-03-21 20:11:05 [3084130624] Info: database_location::/opt/mwes
2009-03-21 20:11:05 [3084130624] Info: listen_port::4044
2009-03-21 20:11:05 [3084130624] Info: log_level::2
2009-03-21 20:11:05 [3084130624] Info: logging::/var/log/mwes/
2009-03-21 20:11:05 [3084130624] Info: milter_port::inet:4049@127.0.0.1
2009-03-21 20:11:05 [3084130624] Info: root_document::/opt/mwes/mwes/
2009-03-21 20:11:05 [3084130624] Info: Initialising WebManager....
2009-03-21 20:11:05 [3084130624] Info: Initialising database....
2009-03-21 20:11:05 [3084130624] Info: Initialising database configure table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database white listing table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database black listing table....
2009-03-21 20:11:05 [3084130624] Info: Not written... Initialising database filter white listing table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database filter black listing table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database rbl listing table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database quarantined table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database gray listing table....
2009-03-21 20:11:05 [3084130624] Info: Initialising database white listing ip table....
2009-03-21 20:11:05 [3084130624] Info: DatabaseManager::UpgradeDatabase - version 8 ok
2009-03-21 20:11:05 [3084130624] Info: Starting StatThread....
2009-03-21 20:11:05 [3084130624] Info: Starting FilterManagerThreads....
2009-03-21 20:11:05 [3084130624] Info: Starting UploadManagerThread....
2009-03-21 20:11:05 [3084130624] Info: Starting ExchangeConduitThread....
2009-03-21 20:11:05 [3084130624] Info: Starting MilterConduitThread....
2009-03-21 20:11:05 [3084130624] Info: Starting HouseKeepingTask....
2009-03-21 20:12:49 [3067341712] Info: Processed = 1 - 1, Emails(ok) = 0 - 0, FA = 0 - 0, RBL = 0 - 0, Black listed = 0 - 0, Custom filter = 0 - 0, FA(IP) = 0 - 0, Empty Email Body = 0 - 0, Uploaded = 0 - 0,