Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Can you help me with this filter

From: McDonald, Dan <Dan.McDonald(at)austinenergy.com>
Date: Thu Jul 03 2008 - 07:28:35 EDT


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
Received on Thu Jul 3 07:29:20 2008

This archive was generated by hypermail 2.1.8 : Tue Sep 02 2008 - 21:36:31 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library