Yea I just escaped them, works fine now. The tag is [Spam] which is what I
need to match, not merely the string 'Spam'. Otherwise a user sending a
message with a subject "I'm so sick of the EFFING spam" would never reach
me, although that might be a good thing. =p
-CC
On 10/15/07, Professional Software Engineering
<PSE-L(_at_)mail(_dot_)professional(_dot_)org>
wrote:
At 21:00 2007-10-15 +0200, Ruud H.G. van Tol wrote:
* ^Subject:.*([Spam])
.SPAM/
You already know that the "([" and "])" can go. Also remove the locking
modifier, since you are using maildir type delivery.
Er, I wouldn't eliminate the brackets - just escape them.
Otherwise, discussions such as THIS one would be filed away as spam.
Note also that if you're running a spam filter, sich as Spam Assassin -
which is inserting the [SPAM] marker - there are usually OTHER headers
which are better used for categorizing it as actual spam, and will help
reduce the likelyhood that you're filing something away because someone
SENT a message with that bracketed text in the subject (such as not
uncommonly happens when someone replies to a list message which their own
systems miscategorized as spam, and they don't edit out the subject
modification).
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <
http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the
list.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail