These commands are really intended more as a way of "fixing" problems with your AWL database, and aren't intended to be used as a way of regularly adding people to your blacklist.
The suggested method for hand-blacklisting or whitelisting is to add a whitelist_to, whitelist_from, whitelist_from_rcvd or blacklist_from rule to your local.cf or user_prefs for SpamAssassin.
And yes, -R, -W and --add-to-blacklist will extract ALL email addresses in the message including all of the following headers and the body of the email itself:
To, From, Cc, Reply-To, Sender, Errors-To, Mail-Followup-To
And will adjust the AWL appropriately for ALL of those addresses, including your address. See sub find_all_addrs_in_mail in SpamAssassin.pm for more explicit details.
At 12:27 PM 11/11/2002 -0500, Tom Allison wrote:
I was reading through the man pages and found a potential problem regarding the options to add-to-whitelist and add-to-blacklist.
According to the manpages:
-W, --add-to-whitelist
Add all email addresses, in the headers and body of the mail message read from STDIN, to the auto
matic whitelist. Note that you must be running "spamassassin" or "spamd" with the -a switch for this
to work.
My question is this.
If I do -R or --add-to-blacklist them am I going to effectively remove myself from the whitelist or potentially add myself to the blacklist since my address is also listed in the Headers or Body of the email in question?
If I forward email to an alias on my server, then I'll blacklist myself to such an extent that I might not accept email anymore.
This is compounded if spam is sent to multiple users on the same server in one email. Then we blacklist each other.
Or does spamassassin do something more intuitive than what is implied in the man pages?
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk