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
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