On 03/21/2015 11:30 AM, nobswolf wrote:
Hello,

I use SpamAssassin for quite some time and now I'd like to fine-tune a
little.

Lately I got a message that was already examined by another instance of
a spam-filter that is not under my control. This message was not
auto-learned because the score was too low for that.

So I got the idea I could check the X-Spam-Flag of this other instance
and give some more score. I thought this is a good idea because nobody
would tag mail as spam without a reason (the other way round is another
piece of cake of course).

But it just did not work. I guess it is because the X-Spam-Fields in the
original header are ignored? How can I force SpamAssassin to force
checking the X-Spam-fields in the header of the original mail?


Header of test-mail:

X-SPAM-FLAG: YES


entry in local.cf:

header     ALLREADY_MARKED ALL =~ /^X-SPAM-FLAG:\s+YES/mi
describe   ALLREADY_MARKED wurde schon mal markiert
score      ALLREADY_MARKED 3


I also tried the "normal" header test, also with not success.


$ spamassassin --version
SpamAssassin version 3.3.2
   running on Perl version 5.14.2
# cat /etc/debian_version
7.8



Any hints for me?


This didn't work? :

header     ALLREADY_MARKED X-SPAM-FLAG =~ /^YES\b/
describe   ALLREADY_MARKED wurde schon mal markiert
score      ALLREADY_MARKED 3

after passing your SA, do these msgs have 2 sets of X-SPAM-* headers?

can you post such a header section?


Reply via email to