After some tries, I got my scalix server running with a MailWasher (I followed the Wiki HowTo with some Googling for the parts not working).
At this time, outgoing mail (via the SWA) are scanned by MWserver (as long as they are not destined to a domain that my scalix server deservs himself (no internal mail scan).
Incomming mail is scanned only if it is destined to a "machine user":
mail to root@mail.mydomain.com will be checks by MWserver but not mail to *@mydomain.com.
I set up a catchall in smtp.cfg:
Code: Select all
[root@mail sys]# grep -v "^#" smtpd.cfg | cat -vet
$
$
$
EXTENSIONS=$
GREETING=SMTPd$
$
$
CATCH @mydomain.com sxadmin-scalix@mydomain.com^I$
$
$
RELAY accept 127.0.0.1$
RELAY accept .mydomain.com$
RELAY Log_Reject ALL$
$
RECIPIENT Log_Reject *@*@*$
RECIPIENT Log_Reject *%*$
RECIPIENT Log_Reject *!*$
RECIPIENT Log_Reject *#*@*$
$
[SUBMIT]$
ANONYMOUS Log_Reject ALL$
$
$
$
[LMTP]$
LISTEN=localhost:24$
SMTPFILTER=TRUE$
Seems that Scalix transfers to the sendmail-mwserver only mail destined to the machine and the one that are going outside.
I don't know how to interpret the following result....
Code: Select all
]# lsof -i :25
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 5345 root 4u IPv4 20746 TCP localhost.localdomain:smtp (LISTEN)
omsmtpd 17908 root 4u IPv4 62419 TCP mail.mydomain.com:smtp (LISTEN)
Scalix SMTPd seems to be ok:
OK, connected to scalix.lanathome.net...
< 220 SMTPd
> HELO edit.dnsvr.com
< 250 mail.mydomain.com Hello mail.dotster.com [64.85.73.124], pleased to meet you
> MAIL FROM:<me@myemail.com>
< 250 me@myemail.com... Sender ok
> RCPT TO:<sxadmin@mydomain.com>
< 250 Ok
> DATA
< 354 Enter mail, end with "." on a line by itself (relay)
> From: me@mydomain.com
> To: sxadmin@mydomain.com
> Subject: ZoneEdit Automated SMTP Test (mail.mydomain.com)
>
> If you received this, then the mail server (mail.mydomain.com) is probably working.
> Sent at 2006-12-28 08:45:21 by 84.XX.XX.XX using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
> .
< 250 Ok
And I do receive the mail, but it doesn't pass within MailWasher test...
Thanks in advance for your help in those days of holyday !!