Re: Header Checks: PREPEND
- On Mon, Jun 01, 2009 at 05:36:13PM -0700, Michael Nguyen wrote:
>This is not a header check, it is access(5) envelope check that prepends
> smtpd_data_restrictions =
> check_recipient_access regexp:/etc/postfix/header-checks
> /^(.*)/ PREPEND X-SA-DELIVERED-TO: <$1>
a header. Given the *data* restrictions cotext, this check will only
fire for messages with a single recipient.
> The idea being that if michaeln-postfix@... was used in RCPT TO,Now not recording more recipients in headers is reasonable, since
> they'd see:
> X-SA-DELIVERED-TO: <michaeln-postfix@...>
otherwise you break Bcc confidentiality. This said, if there is just
one recipient, Postfix already records it in the Received header, so
the whole thing is a waste of time.
> The problem is that this doesn't seem to work on BCC emails and I'm notYes, stop doing what you are doing, and build something to extract data
> certain why. I'm using Postfix 2.2.0. Any ideas?
from your logs.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.