Bug 5936 - spamc -L spam adds from address to autowhitelist
Summary: spamc -L spam adds from address to autowhitelist
Status: NEW
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: 3.2.4
Hardware: PC Linux
: P5 major
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-05 10:28 UTC by michael
Modified: 2009-02-18 15:05 UTC (History)
1 user (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description michael 2008-07-05 10:28:44 UTC
If I pass a spam message to spamc to learn it as spam "spamc -L spam < spammessage", it adds -50 to the AWL for the senders email address.

It does give the message a BAYES_99 score when testing the result with "spamc -R < spammessage" a second time.

Here are the before and after results:

BEFORE spamc -L spam

 pts rule name              description
---- ---------------------- --------------------------------------------------
 0.7 SPF_NEUTRAL            SPF: sender does not match SPF record (neutral)
 2.1 SUBJ_ALL_CAPS          Subject is all capitals
 1.3 MISSING_HEADERS        Missing To: header
-1.1 BAYES_05               BODY: Bayesian spam probability is 1 to 5%
                            [score: 0.0135]
 0.8 MSOE_MID_WRONG_CASE    MSOE_MID_WRONG_CASE
 3.1 FORGED_MUA_OUTLOOK     Forged mail pretending to be from MS Outlook
-1.1 AWL                    AWL: From: address is in the auto white-list

AFTER spamc -L spam

 pts rule name              description
---- ---------------------- --------------------------------------------------
 3.5 BAYES_99               BODY: Bayesian spam probability is 99 to 100%
                            [score: 1.0000]
 0.7 SPF_NEUTRAL            SPF: sender does not match SPF record (neutral)
 2.1 SUBJ_ALL_CAPS          Subject is all capitals
 1.3 MISSING_HEADERS        Missing To: header
 0.8 MSOE_MID_WRONG_CASE    MSOE_MID_WRONG_CASE
 3.1 FORGED_MUA_OUTLOOK     Forged mail pretending to be from MS Outlook
 -51 AWL                    AWL: From: address is in the auto white-list

thanks.
Comment 1 Karsten Bräckelmann 2009-02-18 15:05:14 UTC
Hmm, can't reproduce with 3.2.5. Michael, can you reliably reproduce anything like your original report? Don't mind the exact numbers.


(In reply to comment #0)
> Here are the before and after results:
> 
> BEFORE spamc -L spam
> -1.1 AWL                    AWL: From: address is in the auto white-list

OK, so the address is in the AWL database already. At least once.

> AFTER spamc -L spam
>  -51 AWL                    AWL: From: address is in the auto white-list

The AWL is a score averager. Since we know the address is already in the database, any additional score is at least -100, not -50. The average then is -50 as seen here.

Any change this has been done *between* these two runs? Any additional commands? Given the score, this smells like a plain --add-to-blacklist anyway.