On 11/9/2010 11:16 AM, Marcin Mirosław wrote: > W dniu 09.11.2010 17:14, Karl Meyer pisze: >> Hi, >> >> I want to configure bayes learning and still having some problems and >> questions after reading several tutorials: >> >> >> I executed sa-learn for my inbox >> # su -c "/usr/bin/sa-learn --dbpath /var/amavis/.spamassassin/bayes/ --ham >> --showdots /var/spool/imap/user/kmeyer/[0-9]*." amavis >> >> and got a message, that it learned from n messages. Also in the dbpath foder >> two files appeared. After I got 15 new mails in my inbox, I executed the >> same command again. But this time it didn't learned. > Sa-learn "remember" msgid message which has been learned, it will never > learned twice the same email. Until you change msgid ;) > Regards
If you learn a message as ham, it will not learn the same message as ham a second time (same with spam). However, you can change your mind and learn the message as spam. Bayes will "forget" what it learned the first time and re-learn the message. -- Bowie