On Wed, 2010-04-28 at 11:53 -0400, Carlos Mennens wrote: > I noticed when reviewing headers today that there was a section for > 'autolearn=no' and was wondering what exactly does this mean and > wouldn't autolearn be a good thing? I use Amavisd-new which calls out > to SpamAssassin modules but I don't have the spamd daemon running > physically. The Amavisd-new daemon simply loads the modules for spamd > and does the scoring directly saving my mail server from running more > daemon's and system resources that it needs to. So below are the > headers: >
Autolearn kicks in at certain scores. I believe the default is 12.0 for spam and 0.1 for ham. You can customize those settings in your local.cf file. bayes_auto_learn 1 bayes_auto_learn_threshold_nonspam -3.0 bayes_auto_learn_threshold_spam 12.0 I changed the default value for nonspam because the majority of my users don't train bayes and so the default value could cause bayes to learn incorrectly if a spam message scored low (maybe no network rules or URI rules triggered the first few times). > X-Spam-Status: No, score=2.808 tagged_above=-999 required=5 > tests=[BAYES_50=0.8, HTML_IMAGE_ONLY_24=1.618, HTML_MESSAGE=0.001, > HTML_MIME_NO_HTML_TAG=0.377, MIME_HTML_ONLY=0.723, > RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] > autolearn=no > This particular message scored a 2.808 so it's not high or low enough for bayes to know which way it should learn the message. --Dennis