ManualWhitelist – Spamassassin Wiki
The Spamassassin chronicles continue, now I know how to manually whitelist a single user or an entire domain of users. See below for the technique.
ManualWhitelist - Spamassassin Wiki
ManualWhitelist
Whitelisting a userAdding a user to your whitelist gives them a -100 score, which has the effect of always marking their mail as non-spam.
To manually whitelist a particular address, say d.cary@sparkingwire.com, edit your local user prefs file ~/.spamassassin/user_prefs:
# whitelist David Cary:
whitelist_from d.cary@sparkingwire.comWhitelist and blacklist addresses are file-glob-style patterns, so friend@somewhere.com, *@isp.com, or *.domain.net will all work.
# whitelist everyone at sparkingwire.com:
whitelist_from *@sparkingwire.com
SpamAssassin Test Technique
SpamAssassin is a great open source software package that provides bayesian spam filtering for email. It is very customizable, and has lots of cool 3rd party plugins for making your life as a server administrator just that much easier.
Lately I was configuring SpamAssassin to do some filtering and needed a way to test that the spam filters were being tripped. Without writing emails that were chock full of obscene words, I found the default text string that triggers an email to be flagged automatically as SPAM.
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
I know this will help some wandering server administrator out there somewhere!
