[ale] SpamAssasin Testing

Jason Day jasonday at worldnet.att.net
Mon May 24 16:43:55 EDT 2004


On Fri, May 21, 2004 at 09:35:04PM -0400, Christopher Fowler wrote:
> Here is what I added to the top of my .procmailrc
> :0:
> * ^Subject.*[SPAM]*
> | sa-learn --spam

You can also adjust the threshold at which SA will autolearn the message
as spam (but there is a caveat, see below).  From the
Mail::SpamAssassin::Conf man page (reformatted):

       bayes_auto_learn ( 0 | 1 )      (default: 1)
           Whether SpamAssassin should automatically feed high-scoring
           mails (or low-scoring mails, for non-spam) into its learn­
           ing systems.  The only learning system supported currently is
           a naive-Bayesian-style classifier.
           
           Note that certain tests are ignored when determining whether
           a message should be trained upon:
            - auto-whitelist (AWL)
            - rules with tflags set to 'learn' (the Bayesian rules)
            - rules with tflags set to 'userconf' (user
              white/black-listing rules, etc)
           
           Also note that auto-training occurs using scores from either
           scoreset 0 or 1, depending on what scoreset is used dur­ ing
           message check.  It is likely that the message check and
           auto-train scores will be different.

       bayes_auto_learn_threshold_nonspam n.nn (default: 0.1)
           The score threshold below which a mail has to score, to be
           fed into SpamAssassin's learning systems automatically as a
           non-spam message.

       bayes_auto_learn_threshold_spam n.nn    (default: 12.0)
           The score threshold above which a mail has to score, to be
           fed into SpamAssassin's learning systems automatically as a
           spam message.
           
           Note: SpamAssassin requires at least 3 points from the
           header, and 3 points from the body to auto-learn as spam.
           Therefore, the minimum working value for this option is 6.

-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9



More information about the Ale mailing list