procmail
[Top] [All Lists]

Re: Matching the first occurrence of a header field

2002-04-07 13:09:12
"David W. Tamkin" <dattier(_at_)ripco(_dot_)com> writes:
Philip suggested to Romildo,

| * ^Received:.*(^.*)*\/Received:.*

What if there is a header named something like X-Received: or
Divine-Revelation-Received: between the first two Received: headers?
...
The second Received: in that condition line needs to be
left-anchored to a newline.

* ^Received:(.+$)+\/Received:.+

Shoot, yes.  David is right; you need to anchor the second Received: field.


Philip Guenther
_______________________________________________
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>