You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2014/06/11 22:33:31 UTC
[Bug 6929] rules cannot match X-Spam-ASN
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6929
stef.simoens@scarlet.be changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stef.simoens@scarlet.be
--- Comment #6 from stef.simoens@scarlet.be ---
Because I was looking for the same; this solution worked for me with
SpamAssassin 3.4.0
With the above example (on AS1234):
header TEST_AS1234 X-ASN =~ /^1234$/
describe TEST_AS1234 Sender IP in AS from friendly network
score TEST_AS1234 -0.1
Note the absence of 'AS' in the X-ASN regex
--
You are receiving this mail because:
You are the assignee for the bug.