Package: spamassassin
Version: 3.1.3-0bpo1
Severity: normal

I'm attempting to add a rule which matches on a custom header set by an
outside spam filter which adds a header to identified spam (we don't
want to trust this completely but it would be a good source of a few
extra points).

Unfortunately the header is named "X-Spam-Binary" and it appears that
SpamAssassin removes all headers which begin with X-Spam before
processing as the only rule below which will match is the full message
search. Renaming the header to any name which does not begin with
"X-Spam" will cause the rules to behave as expected.

header XSB1 X-Spam-Binary =~ /\[SPAM\]/i
score XSB1 1.0

full XSB2 /^X-Spam-Binary: \[SPAM\]$/im
score XSB2 1.0

header HAS_XSB exists:X-Spam-Binary
score HAS_XSB 1.0

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.12-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages spamassassin depends on:
ii  libarchive-tar-perl        1.23-1        Archive::Tar - manipulate tar file
ii  libdigest-sha1-perl        2.10-1        NIST SHA-1 message digest algorith
ii  libhtml-parser-perl        3.45-2        A collection of modules that parse
ii  libsocket6-perl            0.17-1        Perl extensions for IPv6
ii  libwww-perl                5.803-4       WWW client/server library for Perl
ii  perl                       5.8.4-8sarge5 Larry Wall's Practical Extraction 

-- debconf information:
  spamassassin/upgrade/2.40:
  spamassassin/upgrade/2.40w:
  spamassassin/upgrade/cancel: Continue
  spamassassin/upgrade/2.42m: No
  spamassassin/upgrade/2.42u: No


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to