2

By default, postfix is removing the bcc recipient before to pass the mail to the delivery queue. How can you set up postfix to keep the bcc recipient information or add an email header to keep it before the delivery?

We would like to use this feature in the context of a catchall mailbox to know witch recipient has received the mail.

Of course, we can track the information with the postfix queue-id in the maillog but it should be more easy to have it directly in the mail header....

We are runing postfix 2.2.10 and the delivery is dovecot 1.1.2.

Thanks in advance for any hint or solution...

BR

Christin

3
  • 2
    Remove the “B” from the “BCC” header and it automagically works :) Jun 4, 2010 at 10:16
  • Doesn't that really defeat the purpose of the Bcc: property that users would expect? I.E. Blind Carbon Copy?
    – mdpc
    Jun 4, 2010 at 22:13
  • My question is, may be, not clear enough. My question is "How a user can know to wich recipent the mail has been send in his own mailbox?" . This is the purpuse of the header the X-original-to. Of Course, if other BCC are present, these other recipient will not be shown in the X-original-to. So the BCC meaning is therefore kept.
    – user23921
    Jun 7, 2010 at 11:46

2 Answers 2

1

For a delivery with dovecot, you need to add the "O" flag for pipe

dovecot unix - n n - - pipe flags=DROhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${recipient}

0

Postfix should add X-Original-To: on final delivery because the whole point of B lind CC is that it is removed.

1
  • Hi Ek, Thanks for the hint. You are fully right with virtual delivery agent of postfix but not with dovecot. See my own answer ;-)
    – user23921
    Jun 4, 2010 at 9:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .