Rule match by Subject: ?

Peter Bonivart peter at UCGBOOK.COM
Fri Feb 25 20:48:15 GMT 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. ]

Kevin Miller wrote:
> Julian Field wrote:
>
>>Is it useful to anyone to be able to use Subject: matches in a
>>ruleset? It should be pretty simple to add, it's just a copy of the
>>virus-name matching I already do.
>
> You mean so we could have a rule that says look for $FILTERSTRING and then
> highscore it?  That would be great to filter out the p0rn that actually
> follows the rules (in the US) and includes "Sexually Explicit" in the
> subject line, as well as "Rolex", etc...

But that's so easy to do in SA, there must be some other idea behind it.

describe LOCAL_1 Test rule
header   LOCAL_1 Subject =~ /sexually explicit/i
score    LOCAL_1 10

--
/Peter Bonivart

--Unix lovers do it in the Sun

------------------------ 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