scalix + mailwasher + amavisd-new + mimedefang

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

easysoft
Posts: 30
Joined: Fri Feb 16, 2007 2:30 pm
Location: London
Contact:

scalix + mailwasher + amavisd-new + mimedefang

Postby easysoft » Mon Aug 03, 2009 12:31 pm

Hi All,

I have had Scalix 11.4 running happily with amavisd-new (for virus scanning + spam assassin) and mimedefang (for a boilerplate) for many months now. All was well :)

Spam was getting too much, so we decided to try MailWasher.
I installed and configured Mailwasher, all fine.
Then I tried to integrate with Scalix :
http://www.scalix.com/wiki/index.php?title=HowTos/Mailwasher
and
http://www.scalix.com/forums/viewtopic.php?t=4974

The second thread explains how we need to set sendmail to listen on port 25, instead of scalix, and how webmail needs to be modified to allow sending emails too. (This change is needed so that MailWasher can get the true source IP, rather than localhost everytime).

I applied all the changes mentioned there, and after restarting everything :

1) scalix is happily receiving emails, and passing them to amavisd for virus scanning (I removed spam assassin), to mimedefang for the boilerplate and to mail washer for spam checking

2) logging in via webmail is fine

3) sending emails from Outlook or from webmail fails. Webmail says something about 'Can't establish connection'. Sorry I've backed out all my changes now so can't quote the error verbatim.

My /var/log/maillog has these :
Aug 3 17:09:04 server sendmail[8587]: n73G94J8008587: [server_ip] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

Is this why sending emails fails? Has anyone else had this problem?

Here is my 'mailwasher' smtpd.cfg :

--------------------------------
EXTENSIONS=AUTH,DSN,8BITMIME
SMTP=OFF
SUBMIT=ON
AUTH_SUCCESS Accept ALL
AUTH_MISMATCH Reject ALL
RELAY accept 127.0.0.1
RELAY accept 192.168.0.
RELAY accept 217.40.46.161
RELAY accept .mydomain.org
RELAY Log_Reject ALL
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*
SUBMIT log_reject DNSBL,sbl-xbl.spamhaus.org,ALL
SUBMIT log_reject DNSBL,bl.spamcop.net,ALL
SMTPFILTER=TRUE
[SUBMIT]
Listen=server.mydomain.org:587
ANONYMOUS Log_Reject ALL
[LMTP]
LISTEN=localhost:24
--------------------------------

Help ! :)

Regards
Arif

Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 1 guest