Mail server vs. mail relay

Kevin Brouelette kevin1a at VARLOG.NET
Sun Mar 7 17:41:49 GMT 2004


Hello

I'm running Mailscanner on a slackware linux servers and need some
guidance.

I have a mail server that the users get their mail from
[IMAP] and it runs mailscanner which controls sendmail, ClamAV and
SpamAssassin.  Works great.

My problem is on a different server with the same setup
that is used as a mail-relay only to clean email and relay
it to an Exchange server.

Since I use sendmails 'mailertable' feature to relay the mail,
Mailscanner calls ClamAV and calls sendmail but doesn't call
 Spamassassin for some reason.
Without changing any of the setup I created a local user on that
server and it works fine. Something changes the way mail is handled
 when the server is used as a mail-relay that I don't quite understand.

I decided to use sendmail-milter for now. Now Mailscanner calls sendmail
 which [calls spamassassin via libmilter] and Mailscanner still calls
ClamAV.

This results in the mail getting tagged for spam in the headers just
fine but it's not easily managed to have whitelists/blacklists etc.

Should I be able to make this work without using libmilter so I can
 control everything with just mailscanners config file??

Any help is appreciated.
TIA

Kevin Brouelette



More information about the MailScanner mailing list