> 
> >2. My compnay wants to block all swears (dont ask me why!) 
> How can this 
> >be done?
> 
> Write some custom rules with high scores:
> 
> body    LOCAL_SWEARWORD1        /\bf***\b/i
> score LOCAL_SWEARWORD1  10.0
> 
> Substitute f*** for your favorite swear word.. Be sure to 
> frame your swear words with \b's so you don't get bugs like 
> blocking "analog" when looking for "anal". Also be sure each 
> rule has a different name (ie: 
> LOCAL_SWEARWORD2, LOCAL_SWEARWORD3, etc)
> 
> Also be sure to run spamassassin --lint after adding rules to 
> check for typos.. SA can't complain about errors when 
> processing mail normally.
> 
> More rule-writing tips can be found at
> http://mywebpages.comcast.net/mkettler/sa/SA-rules-howto.txt
> 

I have a regex type question, I think, about local examples
like the on above.  Can you put multiple words on a single check
such as:

Body    LOCAL_SWEARWORD1        /\bword1\b|\bword2\b|\betc..\b/i 

Thanks,

Scott



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to