|
From: SamW <sw...@sv...> - 2004-04-10 18:14:58
|
Here is how I use the sa-learn to train the bayes filter in version SA 2.63. I am using amavisd-new-p9 / sa 2.63 / sendmail I asked our users to send a mail to sp...@my... if the users see a spam message. If they see a non spam (ham) message they send a mail to no...@my.... Note that the messages that the user receives is already tagged with X-Spam-* headers I then run following 2 commands, to train the sa 4 times a day through a crontab. /usr/local/bin/sa-learn --spam --mbox /var/mail/spam /usr/local/bin/sa-learn --spam --mbox /var/mail/notspam Then I also feed the same messages to razor /usr/local/bin/razor-report /var/mail/spm sa-learning script seems to run, and learn. But here are my concerns, Every mail is tagged, with x-spam-* headers that I feed to spam filter Every mail which SPAM is also in most cases has its Subject Field changed. with ***SPAM** My Questions 1. Should I remove spam headers and remove the ***SPAM*** from Subject field before I feed mail to sa-learn? 2. Should I remove Spam headers before I feed them to razor ? IS THERE ANY BETTER WAY OR HOW-TO SOME WHERE I CAN START TO USE? How do you folks use sa-learn? Thank you in advance. - SamW |