To manually whitelist a particular address, say d.cary@sparkingwire.com
, edit your local user prefs file ( ~/.spamassassin/user_prefs ):
# whitelist d.cary: whitelist_from d.cary@sparkingwire.com
Whitelist and blacklist addresses are now 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
Some good, free web-based tools are available to put a friendly user interface on whitelists (and blacklists) and allow users to edit their own. See WebUserInterfaces.
To manually blacklist,
use spamassassin --add-addr-to-blacklist=addr
to add one address to your blacklist.
Is there any way to force AutoWhitelist to whitelist certain addresses ?
– DavidCary
Yes. spamassassin --add-addr-to-whitelist
and similar. --JustinMason
Keep in mind that running these commands will edit the AWL for the logged in user. If you are using Spamassassin with, for example AMAVIS, you'll need to switch to that user first.
contributors
- DavidCary
- Marcus Dressler
- Xavier