Spamassassin and the Service Router

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Spamassassin and the Service Router

Postby Valerion » Thu May 11, 2006 5:59 am

The Spamassassin technote for Spamassassin integration uses the SMTPFILTER=TRUE option in the Scalix smtpd.cfg. From my experience, email sent out via an IMAP client (eg. SWA), will then be delivered outward by sendmail, directly after the milter processing is done, instead of passing back into Scalix and being handled by the Service Router. This implies that Scalix will not scan the mail for viruses, archive it or have it appear in a SR audit log.

Other than installing a relay server that does milter processing, is there any way to get Scalix's SR to handle an email that also needs a sendmail milter, like Spamassassin does?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu May 11, 2006 10:01 am

SMTPFILTER=TRUE causes the SMTP Relay to do the following:

1) All messages destined for a Scalix user, i.e. there is a match in the SYTEM directory will be sent to sendmail. This is scanned by SpamAssassin and the Scalix rules in sendmail.cf will send the message back via unix.in.

2) All messages destined outside of the Scalix server, i.e. there is NO match in the SYSTEM directory, will be checked for relay attempts first and, provided that they pass, will be sent into Scalix first through unix.in, handled by the Service Router which will immediately send it back out through unix.out to be handled by sendmail.

You can check this by enabling auditing on SMTP Relay (omconfaud -a smtpd 15), Unix Gateway and Router (omconfaud unix 15 router 15) and then restart the services.

Cheers

Dave

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Thu May 11, 2006 10:17 am

Mmm ... I stand corrected, it does work as expected. My original tests on a 10.0.0 server failed when I did do them, but I upgraded the test server to 10.0.1 and it works fine

Unless I had something misconfigured on it originally and fixed that with the upgrade ...


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 9 guests

cron