Hello,

I've got a mail server (A) configured to always_bcc to another computer (B). 
Fine.

My problem is the following. Let's say the original email had 10 recipients.
When "A" hands the email to "B" it preserves the MAIL FROM part, however
it drops all the 10 recipients in the RCPT TO phase and replaces them with
1 email address: what I configured for always_bcc.

My question is that is it possible to preserve the 10 recipients, and pass this 
info
somehow to "B"?

I could think of an XFORWARD like solution, eg. XRECIPIENT

220 server.example.com ESMTP Postfix EHLO client.example.com 
250-server.example.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-XFORWARD NAME ADDR PROTO HELO
250-XRECIPIENT EMAIL
250 8BITMIME XRECIPIENT EMAIL=foo@bar
XRECIPIENT EMAIL=fu@bar
...
250 Ok


Another approach can be what MS Exchange uses: it rewrites the email and adds
another MIME part, eg.


<the usual email headers>
....

Date: Mon, 28 May 2012 13:50:57 +0000
X-MS-Journal-Report:

--_35de6223-0a94-4d9e-895d-7dea50fb1c40_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Sender: foo@bar
Subject: the subject from the sent email
Message-Id: <t...@message.id>
Recipient: user1@bar
Recipient: user2@bar

--_35de6223-0a94-4d9e-895d-7dea50fb1c40_
Content-Type: message/rfc822

<here comes the original message with headers + body>




The reason I could  use a feature like this is that an archiving solution sits 
on "B",
and unfortunately parsing the email headers is not an accurate solution to 
determine
who exactly got the message that "B" just archived.



Thanks for any help,
Albert

Reply via email to