spam.assassin.prefs file customization help

Kevin Spicer kevins at BMRB.CO.UK
Wed Sep 10 22:45:12 IST 2003


On Wed, 2003-09-10 at 22:35, Juan C. Quesada wrote:

>I have the following rule on my spam.assassin.prefs
>file:

>header  FOUL_WORD   Subject =~ /foulword/i
>body    FOUL_WORD  /foulword/i
>score   FOUL_WORD  100.0

>The problem is that certain foul words are contained
>within other words example.

>-ANALyst
>-doCUMentation
>-SHITtakke Mushrooms
>-gRAPEs

>I want to create a rule that looks for a certain word
>by itself. Any ideas?


/(^|\W)foulword(\W|$)/i






BMRB International
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_________________________________________________________________
This message (and any attachment) is intended only for the
recipient and may contain confidential and/or privileged
material.  If you have received this in error, please contact the
sender and delete this message immediately.  Disclosure, copying
or other action taken in respect of this email or in
reliance on it is prohibited.  BMRB International Limited
accepts no liability in relation to any personal emails, or
content of any email which does not directly relate to our
business.



More information about the MailScanner mailing list