Turns out "all_spam_to" was my friend. I'd still like to know why "whitelist_to" had absolutely no effect whatsoever.

.\\ichelle


Folks,

I have an odd one to report. I've been using SpamAssassin 2.20 (running as spamd) for months now without a problem. Last week, I added a few whitelist_to and whitelist_from entries to /etc/mail/spamassassin/local.cf, in this format:

whitelist_to *@todomain.com

Spamassassin seems to be disregarding the entries, for some reason. I killed and restarted spamd, but it continued to ignore it. Here's from a quarantined spam test message:

X-Spam-Status: Yes, hits=8.0 required=5.0 tests=OPPORTUNITY,ONE_HUNDRED_PC_FREE,
REMOVE_SUBJ,EXCUSE_7,SUBJ_REMOVE,LINES_OF_YELLING,LINES_OF_YELLING_2,MAILTO_TO_S
PAM_ADDR,MAILTO_TO_REMOVE,BIG_FONT,FORM_W_MAILTO_ACTION,MAILTO_LINK,USER_IN_WHIT
ELIST_TO version=2.20
X-Spam-Flag: YES
X-Spam-Level: *******
X-Spam-Checker-Version: SpamAssassin 2.20 (devel $Id: SpamAssassin.pm,v 1.77 200
2/04/06 19:28:30 hughescr Exp $)

Note that it does report "USER_IN_WHITELIST_TO," but it still doesn't add -100 to keep the score below the 5.0 threshold. Experimenting, I added "whitelist_to *@todomain.com" to the main whitelist file, /usr/share/spamassassin/60_whitelist.cf, and still no dice; the results are exactly the same:

X-Spam-Status: Yes, hits=8.0 required=5.0 tests=OPPORTUNITY,ONE_HUNDRED_PC_FREE,
REMOVE_SUBJ,EXCUSE_7,SUBJ_REMOVE,LINES_OF_YELLING,LINES_OF_YELLING_2,MAILTO_TO_S
PAM_ADDR,MAILTO_TO_REMOVE,BIG_FONT,FORM_W_MAILTO_ACTION,MAILTO_LINK,USER_IN_WHIT
ELIST_TO version=2.20
X-Spam-Flag: YES
X-Spam-Level: *******
X-Spam-Checker-Version: SpamAssassin 2.20 (devel $Id: SpamAssassin.pm,v 1.77 200
2/04/06 19:28:30 hughescr Exp $)

But when I added "whitelist_from *@.senderdomain.com" to 60_whitelist.cf it didn't quarantine the same message:

X-Spam-Status: No, hits=-92.0 required=5.0 tests=OPPORTUNITY,ONE_HUNDRED_PC_FREE,REMOVE_SUBJ,EXCUSE_7,SUBJ_REMOVE,LINES_OF_YELLING,LINES_OF_YELLING_2,MAILTO_TO_SPAM_ADDR,MAILTO_TO_REMOVE,BIG_FONT,FORM_W_MAILTO_ACTION,MAILTO_LINK,USER_IN_WHITELIST,USER_IN_WHITELIST_TO version=2.20
X-Spam-Level:

It added -100 to the score, exactly what it's supposed to do. However, removing the same whitelist_from entry from 60_whitelist.cf, adding it to local.cf does not obtain the same result; SpamAssassin resumes quarantining the messages from *@fromdomain.com sent to *@todomain.com.

I'm scratching my head over why "whitelist_to *@todomain.com" (or "whitelist_from *@.senderdomain.com") in local.cf doesn't trip the -100 point deduction, and why "whitelist_to *@todomain.com" in 60_whitelist.cf doesn't either (although "whitelist_from *@.senderdomain.com" seems to). I sure hope someone on the list has the answer.

Please cc [EMAIL PROTECTED] if you respond to the list. Thanks!

.\\ichelle
--------------------
Michelle Brownsworth
System Administrator
Willamette.Net
http://www.willamette.net
Phone (541) 465-3282
Fax (541) 465-1194

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to