On Mon, 17 Nov 2003, Brian Godette wrote:

> > X-Spam-Status: Yes, hits=6.0 required=5.0 tests=BAYES_99 autolearn=ham
> >         version=2.60
> 
> In my opinion this is an annoying flaw in 2.6 as any spam that doesn't
> hit any of the standard rules is learned as ham, if the default
> auto-learn thresholds are used. This leads to a skewed bayes database
> until you get around to doing an sa-learn --forget and sa-learn --spam
> on the incorrectly learned messages

You don't need to do both.  Using --spam (or --ham) implies a --forget if 
the message had already been learned as the other.

> My "solution" to this issue, which isn't ideal but "it works for me"(tm), is 
> to set bayes_auto_learn_threshold_nonspam to a small negative number in 
> local.cf.

My solution is this little bit of procmail:

:0 c : $HOME/.sa$LOCKEXT
* ^X-Spam-Checker-Version:.*-$SAVERSION
* ^X-Spam-Status: Yes.*autolearn=ham
| sa-learn --forget

Replace $SAVERSION with whatever appears in your version_tag directive in
local.cf (you do have one, right?)

I used --forget rather than --spam just in case it really was a false 
positive.



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to