Re: [procmail] Local domain forgery detection?2002-08-28 16:30:56Paul Chvostek skribis: How would you structure a recipe to grab only the first occurance of the Received line, without using an external shell to strip it?
:0
* ^Received:[ ]*\/[^ ].+
{
#do sth with $MATCH here
}
and if you would only want the second:
* ^Received:.*$Received:[ ]*\/[^ ].+
etc.
--
Affijn, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
|
|
||||||||||||||||