Leon Kolchinsky wrote: > Hello All, > > I'm using the following script for reporting Razor and teaching BAYESIAN with > ham and spam messages. > > I have the following questions: > ------------------------------- > 1) If I have the following in local.cf: > use_bayes 1 > bayes_auto_learn 1 > > Starting from what score message automatically learned by Bayesian? > > 2) I do quarantine to spam mails and manually review all spam, then I put all > False Positives (ham) to ham folder and all spam to spam folder and run the > following script to populate Bayesian and report to Razor. > > Should I remove headers added like those - > X-Quarantine-ID: X-Spam-Flag: X-Spam-Score: X-Spam-Level: X-Spam-Status: > sa-learn will automatically ignore any headers and other markups that were added by SA, so you don't need to remove those.
You can either remove X-Quarantine-ID, or use a "bayes_ignore_header" command to tell SA not to tokenize this. > Or any others, so learning (sa-learn) would be more accurate? > Any other recommendations? >
