Mark Martinec wrote: > Jef, > >> In the amavis headers, I don't see "autolearn = ham|spam|no". Even for >> very high spam levels. Does this means autolearning is not enabled? >> My spamassassin /etc/spamassassin/local.cf (from ubuntu) says >> bayes_auto_learn is enabled by default. >> Bayes itself is working, because I have hits for the BAYES_XX tests. > > At log level 2 with the 'SPAM, ...' log entry, there should be an > autolearn... if SA did autolearn that message. If there isn't, > check SA settings in local.cf, and/or see: 'amavisd debug-sa'
At log level2, I see some autolearn entries. I started with an empty logfile and used fetchmail to retrieve a pop3 mailbox with 278 messages (almost all spam). They are all correctly marked a spam. In the log, I see only 133 autolearn headers: - autolearn=no: 103 - autolearn=spam: 1 - autolearn=ham: 0 - autolearn=unavailable: 29 So there is not much learning happening, even with very high spam scores (20+ and even 30+). > In the mail log entry (at log level 0) you need to uncomment > the line to provide autolearn information in the $log_templ: > > [? [:AUTOLEARN] ||, autolearn=[:AUTOLEARN]]# > > (there are two such lines, one for passed and another for blocked). > This line is commented out by default. I assume this is only necessary for showing entries at log level 0? ------------------------------------------------------------------------- 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/
