Sorry if this is a FAQ: I checked the FAQ and list archives without coming across the answer.
I'm using SpamAssassin 2.11 on a server that I don't control. I'm trying to whitelist a particular From address using my $HOME/.spamassassin/user_preferences file. Here's the config and my test: $ perl -v This is perl, v5.6.1 built for i386-linux $ cat ~/.spamassassin/user_prefs # tweak to see if user_preferences is being read at all: default 5 required_hits 4.9 whitelist_from "[EMAIL PROTECTED]" $ cat filtermsg To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: test message test $ spamassassin -tD <filtermsg debug: using "/usr/share/spamassassin" for default rules dir debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/home/mblakele/.spamassassin" for user state dir debug: using "/home/mblakele/.spamassassin/user_prefs" for user prefs file debug: running header regexp tests; score so far=0 debug: running body-text per-line regexp tests; score so far=2.8 debug: running raw-body-text per-line regexp tests; score so far=2.8 debug: running full-text regexp tests; score so far=2.8 debug: Razor is not available debug: is Net::DNS::Resolver unavailable? 0 debug: looking up MX for 'microsoft.com.' debug: MX for 'microsoft.com.' exists? 1 debug: is DNS available? 1 debug: DNS MX records found: 0 debug: DNS MX records found: 0 debug: checking RBL orbs.dorkslayers.com., set relay debug: checking RBL inputs.orbz.org., set relay debug: checking RBL relays.osirusoft.com., set relay debug: checking RBL relays.ordb.org., set relay debug: checking RBL ipwhois.rfc-ignorant.org., set rfci debug: checking RBL relays.visi.com., set relay debug: checking RBL results in set relay for 127.0.0.6 debug: checking RBL results in set relay for 127.0.0.4 debug: AWL active, pre-score: 4.6, mean: undef debug: Post AWL score: 4.6 debug: is spam? score=4.6 required=4.9 debug: auto-report? score=4.6 threshold=30 From [EMAIL PROTECTED] Fri Apr 19 13:30:42 2002 To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: test message X-Spam-Status: No, hits=4.6 required=4.9 tests=NO_REAL_NAME,DATE_MISSING,NO_MX_FOR_FROM version=2.11 test SPAM: -------------------- Start SpamAssassin results ---------------------- SPAM: This mail is probably spam. The original message has been altered SPAM: so you can recognise or block similar unwanted mail in future. SPAM: See http://spamassassin.org/tag/ for more details. SPAM: SPAM: Content analysis details: (4.6 hits, 4.9 required) SPAM: Hit! (0.6 points) From: does not include a real name SPAM: Hit! (2.2 points) Missing Date: header SPAM: Hit! (1.8 points) No MX records for the From: domain SPAM: SPAM: -------------------- End of SpamAssassin results --------------------- So what was I expecting? I expected to see a -100 score for the whitelisted address in the final results. I also expected to see some debug lines mentioning the whitelist_from (I see the auto-whitelist AWL lines up there). Am I misunderstanding the way whitelist_from works? Or is there something wrong with this server's config? Is there a better way to whitelist a from address, and test to see that it's working? thanks, -- Mike _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk