Spamassassin - Whitelisting A User

Adding 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, edit your local user prefs file ~/.spamassassin/user_prefs:

# whitelist David Cary:

Whitelist and blacklist addresses are file-glob-style patterns, so, *, or * will all work.

# whitelist everyone at
whitelist_from *

To manually blacklist, use blacklist_from to add an address to your blacklist.

If the sender is at all well known (such as a mailing list), you should use whitelist_from_rcvd instead so that a spammer can't forge their mail to look like it's from the whitelisted address. More info on whitelist_from, whitelist_from_rcvd, and blacklist_from is on the web or can be accessed from your local man pages by typing perldoc Mail::SpamAssassin::Conf.