procmail
[Top] [All Lists]

Re: separating email msgs combined by procmail?

1996-06-19 14:34:14
At 08:56 96-06-18, Rich Adamson wrote:

The sendmail envelope address disappears at his ISP's machine.

Is there anything the client can do with procmail to capture the
envelope "To:" address from sendmail, and inject it into the
email message to ensure a valid "To:" header line always appears?

Nope.  The only "real" solution is to have the ISP's sendmail add
X-Envelope-To: headers, and generate a separate message for each
recipient.

Sometimes, you can build your own X-Envelope-To: headers using
procmail, by extracting the information from a Received: header (if
present).  However, this only works if only one recipient at the domain
is addressed in the message (otherwise, sendmail won't add that
information).

You can build other heuristics into the procmail end, such as "bob &
ted are on the fubar list", but that's a lot of work, and error prone.

Get the ISP to properly support the virtual domain!

--Hal
Hal Wine <hal(_at_)dtor(_dot_)com>     voice: 510/482-0597


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