Michele asked,
| What's wrong in the follow:
|
| 0:BD
I think you meant :0BD ...
| * \<free\>
| /dev/null
|
| to eliminate any email with the string free in the body?
|
| If send a mail with "free lll" in the body the condition doesn't match.
You hit the leading backslash conundrum. If the first character in a regexp
is a backslash, procmail takes it to mean "end of indenting whitespace," so
if you meant to to flip the magic bit on the next character, it doesn't do
what you wanted.
One solution:
* \\<free\>
but that's counterintuitive, because we usually expect two backslashes to
match a literal backslash. Here's the one most people use:
* ()\<free\>
which looks the same to both humans and procmail.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail