procmail
[Top] [All Lists]

Re: parsing "To:" and "Cc:" fields (need help)

1997-02-14 08:44:12
if the isp in question is running sendmail 8.8 config files, then the
following procmail lines will capture the envelope address into a
magic header line.  then if fetchmail can be convinced to use that
header when talking to the local sendmail, things will be just fine.
if anyone has the fetchmail magic handy, please send it out to the
list as well.

EXTRA=$1

:0 fhw
* EXTRA ?? @
| formail -A "X-Envelope-To: $EXTRA"

<Prev in Thread] Current Thread [Next in Thread>