Tom Allison mused,
| > | Now if there is some way that I can be sure to limit the Subjec to
| > | only ping it would help.
| > * ^Subject: ping$
Luke Davis asked,
| * ^Subject:[ ]*\<ping\>[ ]*$
No, unless the subject is the last line in the head. Remember that in
procmail, \< and \> need an actual non-word character (a space, punctuation
mark, or newline) to match to. That's different from grep and perl, where \<
matches the zero-width transition from non-word to word and \> matches the
zero-width transition from word to non-word.
If you take out the \< and \> -- I'm assuming that each pair of brackets is
supposed to enclose a space and a tab -- then yes, that would work, and would
allow for varying amounts or absence of whitespace on either side of the word
procmail mailing list