[MAILSCANNER] Problem with new MCP rules?
MailScanner at ecs.soton.ac.uk
Tue Sep 20 20:27:41 IST 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Scott Silva wrote:
>Johnny Stork spake the following on 9/20/2005 10:27 AM:
>>After going through the instructions for coniguring MCP, I had no problem getting MailScanner to identify subject or body text contained in the default example rule file 10_example.cf. So I created a new file with the extension *cf, with the contents below, and resstared MailScanner. Going to the MailWatch interface, Tools, and "Update MCP Rules Descriptions" and it correctly showed the new rules listed below, But sending an email with only the word "password" in the subject line got through just fine? What am I missing?
>># Rules for PBCO Message Content Protection
>>header PASSWORD-SUBJECT-RULE Subject =~ /password/i
>>describe PASSWORD-SUBJECT-RULE Banned Subject
>>score PASSWORD-SUBJECT-RULE 5
>>body PASSWORD-BODY-RULE /password/i
>>describe PASSWORD-BODY-RULE Banned body text
>>score PASSWORD-BODY-RULE 5
>I don't see any rules with "-" dashes, they all have '_' underscores.
>Maybe this isn't an allowed character in a rule name.
SpamAssassin generates a Perl function for each rule, so only the
characters allowed in Perl function names are allowed in SpamAssassin
rule names. So "-" is certainly not allowed, as it is the arithmetic
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
------------------------ 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