dms dms wrote:
Hello all,
I searched high and low but could not find anywhere that says the
following rule patten is invalid or not allowed in SpamAssassin 3.2.5 on
CentOS 5.1 However it works with non-zero numbers... Thoughts? and TIA
header LOCAL_TESTHEADER TESTHEADER =~ /^0$/
score LOCAL_TESTHEADER 1000
message:
TESTHEADER: 0
From:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: This is a TESTHEADER: 0 test
blahblah blah
looks like a bug to me. "0" is matched and returned, then the string "0"
is confused with 0=FALSE.
Using 1 instead of 0 works! also, using /0$/ and putting "foo0" in the
header.