Block mail by subject content with MCP

[iso-8859-1] José Angel Blanco González jose at TREELOGIC.COM
Wed Dec 15 14:50:42 GMT 2004


    [ 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. ]

I am trying to block mails based on subject with MCP
I modified a 10_example.cf

header   SAMPLE_RULE3  Subject =~ /merry christmas/i
describe SAMPLE_RULE3    Banned Subject
score    SAMPLE_RULE3    11

header   SAMPLE_RULE4  Subject =~ /feliz navidad/i
describe SAMPLE_RULE4    Banned Subject
score    SAMPLE_RULE4    11

header   SAMPLE_RULE5  Subject =~ /Delivery Status Notification (Failure)/i
describe SAMPLE_RULE5    Banned Subject
score    SAMPLE_RULE5    11

header   SAMPLE_RULE6  Subject =~ /Mail delivery :returning message to
sender/i
describe SAMPLE_RULE6    Banned Subject
score    SAMPLE_RULE6    11

header   SAMPLE_RULE7  Subject =~ /failure notice/i
describe SAMPLE_RULE7    Banned Subject
score    SAMPLE_RULE7    11

but is not working, here is a extract of header from a message:

Message-ID: <mucVFckA10001b25e at URANO.sc.com>
Subject: Delivery Status Notification (Failure)
X-Treelogic-MailScanner: Found to be clean, Found to be clean
X-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (puntaje=0, requerido 1)
X-Treelogic-MailScanner-SpamCheck: no es spam, SpamAssassin (punta...

How can I resolve this? With this rules how can I search for word cuts?
example 'Notif* failure'

Thank you

------------------------ 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 MAQ (http://www.mailscanner.biz/maq/) 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