Andrew Edelstein <andrew(_at_)pure-chaos(_dot_)com> wrote:
Actually this won't do it, as cat reads a file or pipe. $MATCH in this case
contains a string which is not the name of a file. You want echo for this.
However he already had that part right with the formail solution, which is the
canonical way of extracting a From: address.
I stand corrected :-), good to know for future reference.
--
Lawrence Mitchell
wence(_at_)newald(_dot_)homeip(_dot_)net
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail