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. I also executed the
command on several other inboxes (which contains mails) and on none it
learned.

Also I removed the two files form the dbpath folder and reexecuted the
command from above. I expected, that it should learn at least that much like
on the first time, but it said 'learned from 0' and the files were
recreated. Why it doesn't learn anything more? Using -D didn't showed any
unusual.


And one more question: I read, that I have to learn spam AND ham, to make
bayes work. I can use the Inboxes of users as source for ham and the junk
folder for spam. But: First a spam mail comes to the inbox (where it get
learned as ham). Then the user moves it to the junk folder, where it should
get learned as spam. Is this a possible configuration? Or does this confuses
SA? I can't have one folder for every user where to store ham. E. g. I have
allready 30 folders where I sort my mails in. I can't have it all in one
folder. The inbox is the only folder where every mail gets surely in and
could be used by sa-learn.


Regards
-- 
View this message in context: 
http://old.nabble.com/sa-learn-problems-and-comprehension-question-tp30172306p30172306.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to