On 19 Jun 2012, at 17:42, Chris Nagele wrote:

When I capture the messages that are sent via pipe it contains all TO
and CC, but the BCC header is gone. From what you both said, I feel
like I missing something pretty simple here.

Yes.

When you use a MUA to compose a message with a Bcc header, the MUA typically only uses that header to construct the SMTP envelope recipient list (i.e. addresses used in SMTP RCPT commands) and does not include the header in the message data when it submits the message. Historically (and perhaps still today in rare cases) some MUA's have included the Bcc header in submitted messages, so MTA's like Postfix will strip out that header if it exists in a submitted message. Postfix does this in the cleanup(8) daemon. It is (properly) not possible to turn that removal off.

The pipe(8) daemon can optionally add one or both of Delivered-To and X-Original-To headers that may meet your needs. See the man page for details (in the 'flags' section.)

Reply via email to