Jos\xE9 Romildo Malaquias asked,
| I want to construct a procmail recipe based on the _first_
| occurrence of the Received header field of the message.
| How can I detect the _first_ occurrence of a field in
| the header?
:0 flags
* 1^0 ^\/Received:.*
* MATCH ?? regexp
action
To look only at the last Received: header (or comparably, any other repeated
header), use 1^1 instead of 1^0.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail