something simple, that greps the which sender the mail from. I tried the
whole night. Can someone tell me what's wrong with the following code:
...
SENDER=`formail -rt`
This creates a reply header (what you saw in your $HOME/test.log).
The procmailex(5) manpage gives this formula:
FROM=`formail -rt -xTo:`
I do it like this:
ADDRESS=`formail -rtzx to:`
The 'z' removes any blanks.
The formail(1) manpage gives additional information about the meaning
of the 't' flag.
hth
collin
--
Neither I nor my employer will accept any liability for any problems
or consequential loss caused by relying on this information.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail