:0
* ^Received:[.ch>$] ?
Um, no... As I was forcibly taught recently, square brackets indicate
a *range*, so the above condition would match *every* email that came
in with a Received line in the headers. :)
That isn't exactly what you were forcibly taught. :-) The
$ in there is not part of the range of, e.g., from dot to EOL.
Rather, the $ it is a literal dollar sign inside the brackets.
It looses its meta qualities.
* ^Received: [a-z0-9]\.(ch|pl)[ <(]
Probably closer would be:
* ^Received:.*[a-z0-9]\.(ch|pl)([ >)]|$)
or something.
--
dman
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail