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.
procmail mailing list