At 01:34 2005-08-04 +0200, Dallman Ross wrote:
Indeed, X-Envelope-To: (when configured to be inserted by
Sendmail - it isn't a default header) is only inserted when
there's a SINGLE local recipient - multiple recipients cause the
header to NOT be included. Refer to the procmail mantra.
On panix, X-Envelope-To: always contains the envelope-To.
The MTA is not sendmail.
Then obviously it isn't restricted to the same logic which sendmail happens
to use. I don't happen to agree with the way sendmail does it - in the
header insertion phase (same phase where the local Received: is tacked on),
if there are multiple envelope recipients, sendmail doesn't emit that data
because it'd be a security issue - revealing other recipient
addresses. Sendmail isn't set up to add headers LATER, say at local
delivery time, by which point it has already discerned the local userid.
I'm curious - if you have multiple aliases at your ISP which point to the
same mailbox, and two are addressed on a message, do you get TWO copies of
the message (each with a separate X-Envelope-To:), or ONE?
If X-Envelope-To: is empty when the message was sent to
multiple local recipients, what's the point of even having it?
I mean, one can simply look for the lowest "for user@" string
in the Received chain,
... which coincidentally won't exist if there were multiple local recipients.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail