On Thu, 2008-07-03 at 02:38 -0700, Linspeed wrote:
> However, for a certain string in the subject, I want it to bypass
> SpamAssassin.
> That string is [WL]. We've been doing that for years on our existing
> anti-spam system and nobody has ever sent us spam with [WL] in the subject.
> 
> So I change the filter:
> 
> :0fw: spamassassin.lock
> * < 512000
> * !Subject: .*[wl].*

Since this is a regular expression, and character classes are enclosed
in brackets, any subject with a "w" or "l" in the subject would be
excluded.  You will need to escape the brackets so that they don't
designate a character class:

!Subject: .*\[WL\].*

-- 
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to