How to singularly scan an email?

Chris Barber chris at techquility.net
Wed Jul 14 15:33:20 IST 2010


>Hello Everyone,
>
>How do you single out an email to be scanned? I will explain.
>
>In my mail server, there are many domains. Every domain except one is exempted from spamassassin. I did this in spam.whitelist.rules:
>
>To: *@foobar.com yes # don't scan this one through spamassassin
>
>However, there is one email inside of @foobar.com that I want scanned in spamassassin. So, I added this to the same file:
>
>To: user at foobar.com no # but scan this one through spamassassin.
>
>Did I do this right? Is this effectively going to scan emails going to user at foobar.com, but not for any other in @foobar.com? Thank you.
>
>Peter

You have the right idea. The rules file will go down the list until it hits the first matching rule. So make sure your "To: user at foobar.com no" line is above the "To: *@foobar.com yes" line in the spam.whitelist.rules file.

Chris


More information about the MailScanner mailing list