Roderick Schertler <roderick(_at_)argon(_dot_)org> writes:
On Wed, 11 Jun 1997 09:19:38 -0700, lists(_at_)professional(_dot_)org said:
[...] (I'd _really_ like to know how to insert x-envelope_to/from
headers using sendmail, and its looking a lot like I have to achieve
this via adding code and recompiling, rather than via a rewrite rule).
There's probably something wrong with using
H?l?Envelope-From: $g
H?l?Envelope-To: $u
for this purpose but I can't spot it after some quick tests. Caveat:
It's likely necessary that you not have the m flag in your Mlocal
definition.
Regardless of whether the local mailer has the 'm' flag, this doesn't
work. Sendmail simply doesn't set the $u variable at all if there are
multiple recipients. As for the Envelope-From: header, that's what
Return-Path: is supposed to be. If you don't have it, then your
sendmail.cf is too old and probably broken in other ways as well, as
this was added/fixed before sendmail V8 came out.
Philip Guenther