spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gregorie <mar...@gregorie.org>
Subject Re: txrep and spam lists
Date Sun, 07 May 2017 14:05:21 GMT
On Sun, 2017-05-07 at 13:27 +0100, RW wrote:
> On Sun, 07 May 2017 10:33:56 +0100
> Martin Gregorie wrote:
> The only other thing you need is a way remove SA headers from your
> > spam collection. A bash script using awk to do the heavy lifting
> > works for me:
> > 			
> 
> That shouldn't be necessary. AFAIK as all the X-Spam-* headers are
> stripped before Bayes can see them. The common SA headers are also in
> the default "bayes_ignore_header".
>
Fair enough for playing with Bayes, but leaving them in place is a just
nuisance when you're developing private rules because the old headers
tend to obscure what you're looking for.

If you push a message through spamc with  X-Spam* headers already in
it, the original headers are still there in the output, though now
preceded by the ones added by the test. This can be a real pain if
you're running a set of messages through spamc and using grep or awk to
remove everything except the initial spam status line plus any lines
containing the name of the rule being developed.


Martin


Mime
View raw message