Hello,

instead of disabling a lot possibly set message headers using "bayes_ignore_header" and ending up in strange configs like:

bayes_ignore_header Return-Path
bayes_ignore_header Received
bayes_ignore_header X-Spam-Flag
bayes_ignore_header X-Spam-Status
bayes_ignore_header X-Spam-Flag
bayes_ignore_header X-Spam-Level
bayes_ignore_header X-purgate
bayes_ignore_header X-purgate-ID
bayes_ignore_header X-purgate-Ad
bayes_ignore_header X-GMX-Antispam
bayes_ignore_header X-Resent-For
bayes_ignore_header X-Resent-By
bayes_ignore_header X-Resent-To
bayes_ignore_header Resent-To
bayes_ignore_header Sender
bayes_ignore_header Precedence
bayes_ignore_header X-Antispam
bayes_ignore_header X-Sieve
bayes_ignore_header X-Spamcount
bayes_ignore_header X-Spamsensitivity
bayes_ignore_header To
bayes_ignore_header X-Sieve
bayes_ignore_header X-WEBDE-FORWARD

bayes_ignore_header X-purgate
bayes_ignore_header X-purgate-ID
bayes_ignore_header X-purgate-Ad
bayes_ignore_header X-GMX-Antispam
bayes_ignore_header X-Antispam
bayes_ignore_header X-Spamcount
bayes_ignore_header X-Spamsensitivity

(found on the net)

shouldn't SpamAssassins bayes mechanism just ignore the complete message header and just look at the body?

This seems useful in my opinion. What do you mean?
(Are static tests not good enough for the message headers?)
It seems also more useful for me to activate just special header fields and ignoring all other. I undestand for example From, To or the Subject may contain useful tokenizable informations but the most fields seems not interesing and hard to find out or to be sure you got them all.

Is there a config option to tell SpamAssassins bayes mechanism not to look at the message header or does SpamAssassin still not look at the header by default?
Perhaps there are regular expressions ?

If it parses the message header, it seems you have to read the RFC's and look at some tools to find out what kind of message headers are set.

Thanks.
Philipp

Reply via email to