>>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.

>If you want forward to different recipient addresses, then don't
>use always_bcc.
>
>Instead, use recipient_bcc_maps which allows you to specify different
>addresses for different recipients.
>
>/etc/postfix/main.cf:
>    recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc
>
>/etc/postfix/recipient_bcc:
>    /^([^@]+)@example\.com$/    $1...@otherhost.example.com



Thanks Wietse, it works. However, is there a chance to send
only 1 bcc email with 10 recipients? Currently postfix sends
10 bcc emails (1 recipient in a single email) in the above example.

My problem is that I have to process 10 bcc emails for a single
incoming email. It can be done, although it wastes lots of resources
on the bcc receiving side, that's why I would prefer one bcc email
for one incoming email with as many (RCPT TO) recipients as many
are in the incoming email.


Albert

Reply via email to