Philip Guenther <guenther(_at_)gac(_dot_)edu> wrote:
Okay, what if you _do_ want the Resent-* headers? Well, you use formail
to add the headers, feeding the output directly into sendmail:
:0
* From: whomever(_at_)whereever(_dot_)org
| formail -a "Resent-Date: `date`" -a "Resent-From: $LOGNAME" \
-a "Resent-To: 3rdParty(_at_)another(_dot_)domain" -a
Resent-Message-Id: \
| $SENDMAIL -oi 3rdParty(_at_)another(_dot_)domain
Actually, the Resent-Date and Resent-Message-Id fields should be
automatically generated by sendmail if they don't exist, so there is
no real need to provide them beforehand.
--
Sincerely,
srb(_at_)cuci(_dot_)nl
Stephen R. van den Berg (AKA BuGless).
Real programmers don't just die, they produce core dumps.