> -----Original Message-----
> From: Matt Kettler [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 06, 2006 7:15 PM
> To: לאון קולצ'ינסקי
> Cc: [email protected]
> Subject: Re: how to modify headers so sa-learn gives more accurate
> results?
> 
> 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.
> 

OK, Thanks,

So the script should look like this now?

sa-learn --showdots --bayes_ignore_header X-Quarantine-ID --bayes_ignore_header 
X-Amavis-Alert --ham *

The problem that I can't find any bayes_ignore_header option in 
# man sa-learn


> > Or any others, so learning (sa-learn) would be more accurate?
> > Any other recommendations?
> >


Regards,
Leon

Reply via email to