spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Kettler <>
Subject Re: Sa-learn question
Date Fri, 06 Jun 2008 01:26:04 GMT
alexpacio wrote:
> Hello,
> anybody knows if, when i teach spam to spamassassin through the Bayesan
> Trainer "sa-learn" , is needed to delete the X-Spam-Status: and
> X-Spam-Checker-Version: strings from the header to let Spamassassin teaching
> well?
SpamAssassin will remove any headers that it added itself prior to 
learning the message, including those. So, it's fine to leave them in.

However, SpamAssassin won't remove any nonstandard headers added by 
other spam scanning tools, or wrappers for SpamAssassin that add their 
own headers (ie: MailScanner). For those, you'll need to use a 
bayes_ignore_header directive, or strip them before feeding SA.

View raw message