skip spamassassin (again)

Julian Field mailscanner at ecs.soton.ac.uk
Wed Jul 30 15:06:08 IST 2003


At 14:55 30/07/2003, you wrote:
>Can anyone tell me how to skip spamassassin test on specific domains?
>I have set up the rules file as per the faq and it seems to stop virus
>scanning only. Optimally I would like to do virus checks on all domains
>And selective spamassassin checks on others.

Set
         Use SpamAssassin = /etc/MailScanner/rules/use.sa.rules

Then in use.sa.rules put stuff like this:
To:     *@checkme.com   yes
To:     *@dontcheck.com no
FromOrTo: default       no

That will do SpamAssassin checks on mail to checkme.com but no others. If
you change the "default" setting to "yes" then it would do checks on all
domains except dontcheck.com.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list