For that the Transport is too late to achieve it. I'd suggest you look
at the Router options, especially address_data, and play with that.
Check chapter 15ff of the documentation. I did not play with that up
till now, so I don't have a ready made solution for it. But others
might have?!
BTW:
--On 2 October 2008 23:52:57 +0200 Oliver von Bueren [EMAIL PROTECTED]
wrote:
On the transport add the keywords envelope_to_add and return_path_add
to accomplish this. From the documentation you have the following example:
Please don't do this. It will put all the recipients into the
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
--On 3 October 2008 14:51:32 +0200 Oliver von Bueren [EMAIL PROTECTED]
wrote:
As a start, Ian, please don't send replay to private address, just to
list. Thanks.
It's list policy. I'm not going to try to remember individual preferences
about whether you get a separate reply. If it bothers
Thanx for the comments.
Oliver, i used what you posted in the original response, and did a
test. I sent an email from another account (this one at hushmail)
and i logged in to my localhost on port 25. In both cases the
Received: header (as opposed to to and cc) lines only included the
address
Is there a way to copy the RCPT-TO address to a message header? If
so, can it be done with the original address before any rewrites?
That is (the different RCPT TO and FROM is intended to highlight
the issue):
RCPT TO: [EMAIL PROTECTED]
DATA
FROM: [EMAIL PROTECTED]
text
.
A rewrite
On the transport add the keywords envelope_to_add and return_path_add
to accomplish this. From the documentation you have the following example:
local_delivery:
driver = appendfile
file = /var/mail/$local_part
delivery_date_add
envelope_to_add
return_path_add
And in the main
Excellent. That works well.
Is there a way to get the envelope address before it is rewritten?
B.
On Thu, 02 Oct 2008 17:52:57 -0400 Oliver von Bueren
[EMAIL PROTECTED] wrote:
On the transport add the keywords envelope_to_add and
return_path_add
to accomplish this. From the documentation