Hello

I've just started using SpamAssassin this morning.

In my procmailrc file, I have this at the top:

:0fw: spamassassin.lock
* < 512000
| spamassassin

i.e. the recommended default.

Works perfectly OK. From there on, I have a lot of other filters, again all
working.

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].*
| spamassassin


But it does not work. I've even changed it so that it filters all messages
no matter the size:

:0fw: spamassassin.lock
* !Subject: .*[wl].*
| spamassassin


Problem here is that some messages bypass SpamAssassin even when they
*don't* have [WL] in the subject.

Can somebody tell me where I am going wrong.

I am rubbish with syntax!
-- 
View this message in context: 
http://www.nabble.com/Can-you-help-me-with-this-filter-tp18255552p18255552.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to