Hey guys!

Yesterday we were talking about blocking certain words. The suggestion came
up to put the following in:
body     LOCAL_SWEARWORD /\b(?:word1|word2|word3|word4)\b/i

I put this in the bottom of my /etc/mail/spamassassin/local.cf

It seems to block all mail? Any ideas?

Thanks
Dan

----- Original Message -----
From: "Charles Gregory" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 11, 2003 11:59 AM
Subject: [SAtalk] new to spamassassin


> On Tue, 11 Nov 2003, Yackley, Matt wrote:
> > Scott,
> > This would probably be a little better & cleaner looking:
> > body     LOCAL_SWEARWORD /\b(?:word1|word2|word3|word4)\b/i
>
> And in case anyone else unfamiliar with regex is wondering about that
> question mark followed by a colon - it is a special code that tells the
> regex not to save the 'back-reference' variable it would normally create
> containing whatever matched that portion of the regex in parentheses. It
> saves a few processing cycles each time you do this. In a large collection
> of tests, it can be significant.
>
> - Charles
>
>
>
>
> -------------------------------------------------------
> 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
>



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