Thanks a lot for your answer.

The problem now is that SpamAssassin (spamc to be more precise) is called by Qmail-Scanner, which in turn adds this headers to emails:

Received: from [EMAIL PROTECTED] by mail.host-services.com by uid 101 wi
(spamassassin: 2.60. Clear:RC:0:SA:1(11.3/8.0):.
Processed in 0.328309 secs); 19 Nov 2003 23:34:45 -0000
X-Spam-Status: Yes, hits=11.3 required=8.0


The header X-Spam-Status shouldn't cause any trouble to sa-learn, right?

What about the other header ? Is there any problem removing all the Received headers ? Something like this :

bayes_ignore_header Received

Thanks again
Carlos Jorge Santos


Matt Kettler wrote:
At 12:39 PM 11/20/03 +0000, Carlos Jorge Santos wrote:

We're in the process of feeding sa-learn with spam and ham so we can use The Bayes filters.
But a doubt has crossed our mind... All of our Spam has the SpamAssassin header, feeding this mails to sa-learn will make the Bayes database thins that all mails with a spamassassin tag are junk ?
Is there a way to avois sa-learn from learning this headers ?



sa-learn should automaticaly ignore any spamassassin tags/headers. You shouldn't need to do anything for that.


However, people who use things like mailscanner, which inserts a slightly different header name, need to use the bayes_ignore_header command to get SA to ignore them.



------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to