Author: Oliver von Bueren Date: To: exim-users Subject: Re: [exim] Is it posible to copy the original rcpt to to a message
header?
As a start, Ian, please don't send replay to private address, just to
list. Thanks.
Ian Eiloart wrote: > Please don't do this. It will put all the recipients into the header,
> including Bcc recipients.
> I know perfectly well what the RFC tells about BCC. But this option does
not what you think it does. Please read carefully what the
envelope_to_add does, from the docs:
---
If this option is true, an Envelope-to: header is added to the message.
This gives the original
address(es) in the incoming envelope that caused this delivery to
happen. More than one address may
be present if the transport is configured to handle several addresses at
once, or if more than one
original address was redirected to the same final address. As this is
not a standard header, Exim has a
configuration option (envelope_to_remove) which requests its removal
from incoming messages, so
that delivered messages can safely be resent to other recipients.
---
This means, it does only include the address(es) in the envelope-to
which cause the delivery to the final destination mailbox. You don't get
any other addresses in that header.
Key part of this paragraph is "caused this delivery to happen". The user
should always be allowed to see what the RCPT TO was, which caused the
message getting into HIS mailbox. That doesn't show him where it went as
well.
And by the way, these options are in the default configuration for
local_delivery and address_file transports and IMHO are perfectly safe
if used correctly, as in the example configuration.
What B. Tkatch tries to do of course might be different and expose BCCs
if done wrong.