I am experiencing weird and inconsistent behavior with the auto_learn feature of spamassassin. I set the following in my local.cf file:
auto_learn 1 auto_learn_threshold_spam 4.3 auto_learn_threshold_nonspam 0.0
In my user_prefs I have:
required_hits 4.3
It seems that not all of the spam that gets filtered into my spam folder is learned by the bayes database. Most recently, it seems that spam with hits of 25.10, 23.20, and 11.80 points were learned, while those with 34.30 and 5.00 points were not. Any ideas on what is going on here?
Yep,
The one with 5 points wont be learnt because there is a safety margin around your required_hits, I forget what it is, but its about 4 points either side. So if your required_hits was 5, it wouldn't autolearn as spam for anything less than 9 points, regardless of your setting.
By the way trying to autolearn anything above 4.3 as spam is a very very bad idea :) (Which is why it wont let you - the safety margin is there to stop you shooting yourself in the foot)
As for why a message of 34.30 wasn't learnt, a message with the same ID may have already been learnt - for example, if Bayes is sitewide, somebody elses copy of the same spam may have already just been learnt, and your copy wont have been.
Another possible reason is that the bayes database was locked and busy for more than 10 seconds so it gave up trying to learn that particular time. (This may happen from time to time on a busy server)
Regards, Simon
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk