Somewhere I'm lost here. To test to see whether there's only one Received:
header and extract its content,
:0
* 2^0
* -1^1 ^Received:.*\/[^ ]+
action
To test to see whether there's exactly one Received: header (and rule out the
total absence of them as well as the presence of two or more),
:0
* ^Received:
* 2^0
* -1^1 ^Received:.*\/[^ ]+
action
I don't see any point in saving the score in a variable and then testing the
variable when one can just test the score.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail