Hi guys,

So, I'm trying to use PREPEND to add in a custom header so that support can easily track what email address was used in RCPT TO. I've tried the following:

main.cf:
smtpd_data_restrictions = check_recipient_access regexp:/etc/postfix/header-checks

header-checks
/^(.*)/ PREPEND X-SA-DELIVERED-TO: <$1>

The idea being that if michaeln-post...@twentyten.org was used in RCPT TO, they'd see:

X-SA-DELIVERED-TO: <michaeln-post...@twentyten.org>

The problem is that this doesn't seem to work on BCC emails and I'm not certain why. I'm using Postfix 2.2.0. Any ideas?


Michael

Reply via email to