rule failing lint test
James Gray
james at grayonline.id.au
Mon Oct 3 22:34:07 IST 2005
[ The following text is in the "utf-8" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
On Monday 03 October 2005 09:52, Jon Miller wrote:
> I've put in a rule that seems to be failing the --lint test. What I'm
> looking for is in the subject line since there is a # there is this not
> treated as a remark or is this read as normal information?
> Rule 28
SNIP
> # 28 Subject: $B;(;o$G$*Fk\@w$_!#CO0hJL$K??7u$J=P(B
> header PROLO_GSPAM28 Subject =~
> /\$B;\(;o\$G\$\*Fk\@w\$_!#CO0hJL\$K\?\?7u\$J=P\(B/i score PROLO_GSPAM28 8
> describe PROLO_GSPAM28 Spam - Custom rule setJames
You need to escape "\", "!", "#", AND the "@" (not sure about the semi-colon
but when in doubt, escape it anyway). So (assuming no escaping of the ";"):
/\$B....Fk\\\@w\$_\!\#CO0h.../i
HTH,
James
--
*** PUBLIC flooding detected from erikyyy
<lewnie> THAT's an erik, pholx.... ;)
-- Seen on #LinuxGER
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list