how to wirte this kind of mcp rule

Julian Field MailScanner at ecs.soton.ac.uk
Sun Jul 23 13:07:35 IST 2006


On Sun23 Jul 06, at 12:42, ankush grover wrote:

> hey friends,
>
> I am using Postfix with MailScanner. For last 2 or 3 days I am
> receiving lot of Spam a particular spam header or subject is
> "VlzAGRA". This word is not alone in the header or subject there are
> other words with it like "Re: efasfd VlzAGRA" it is become difficult
> to add every subject coming with " VlzAGRA" to mcp list. How do I
> write a mcp rule in such a way if there is a subject which contains
> "VlzAGRA"   it should be marked as spam.
>
> I have written below rules but still I am getting the mails with
> subject  "VlzAGRA" or "Re: VlzAGRA" in it.
>
> header   RULE26         Subject =~ /VlzAGRA/i
> describe RULE26         Banned Subject
> score    RULE26         10
>
> header   RULE27         Subject =~ /Re:zakeg VlzAGRA/i
> describe RULE27         Banned Subject
> score    RULE27         10
>

header RULE28	Subject =~ /VisAGRA/

is all you need.

> How do I write a rule which will ban the mail if it contains subject
> "VlzAGRA" in it ?
>
> Please let me know if you need any further inputs.
>
>
> Thanks & Regards
>
> Ankush Grover
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!

--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store !
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



More information about the MailScanner mailing list