Mark Martinec wrote: > Jef, > >>> SA debugging can be turned on selectively, e.g: >>> # amavisd -d bayes,learn debug-sa >> I have the default settings from ubuntu for spamassassin. >> >> bayes_auto_learn_threshold_nonspam 0.1 >> bayes_auto_learn_threshold_spam 12.0 >> bayes_auto_learn 1 > > Ok. So what did the SA debug output show? > > Amavisd logs 'autolearn=...' exactly as provided by SA, > no modifications there; amavisd.conf settings do not > influence it.
I had to change the command slightly for my system: # amavisd-new -u amavis debug-sa foreground &> amavis.log I get entries like: [27955] dbg: learn: auto-learn: currently using scoreset 3, recomputing score based on scoreset 1 [27955] dbg: learn: auto-learn: message score: 31.6203333333333, computed score for autolearn: 24.606 [27955] dbg: learn: auto-learn? ham=0.1, spam=12, body-points=15.057, head-points=4.471, learned-points=3.5 [27955] dbg: learn: auto-learn? yes, spam (24.606 > 12) [27955] dbg: learn: initializing learner [27955] dbg: learn: learning spam On a total of 232 messages, 25 get learned (4 ham, 21 spam) and 129 are not learned. I have no idea what happened to the other 78 messages. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
