procmail
[Top] [All Lists]

Re: [procmail] restricted form

2003-01-31 19:01:57
Holger Wahlen skribis:
fleet wrote:

* ^Message-ID:[ ]*<$PART1\$$PART2\$$PART3

Much easier to mess with. (I take it the "<" in this instance
doesn't cause problems?)

No, it's only special to procmail at the beginning of a regexp.
Another thing, though: you need an additional "$" at the beginning of
the condition, otherwise procmail won't replace the variables by their
values (but read the "$" as "end of line" instead):

  * $ ^Message-ID:[ ]*<$PART1\$$PART2\$$PART3

And use the D-flag, for case-sensivity.

-- 
 Ruud


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>