At 14:45 2004-05-28 +0200, Hans du Plooy did say:
my recipy looks like this:
"" encapsulates a CHARACTER CLASS, and since you're looking for literal
brackets, you needs to escape the brackets. Additionally, the dot
preceeding this will only match a SINGLE character - nothing like "Re:"
before that text will work - only exactly one character.
would be more typical (though escaping the CLOSING bracket isn't so necessary).
hb in the flags is not applicable to this delivery. Nor is the trailing
lockfile flag, since you're delivering to a maildir.
The method works fine if I replace [KT-USERS] with ****SPAM**** to catch out
* is another regexp character.
I strongly suggest that you read up on regexps.
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