On Thu, Jan 15, 2009 at 05:39:29PM +0600, Artem Bokhan wrote:

> I want to add header
> 
> smtpd_data_restrictions = check_client_access pcre:add_header.cf
> 
> add_header.cf:
> "PREPEND X-Sender-IP: $1"
> 
> Is any way to delete this header from input message, but do not delete 
> header inserted by postfix?

The one inserted by Postfix will be the top-most one. No need to delete
any that appear below it (and not possible with header_checks, you'd
need a content filter that parses XFORWARD).

-- 
        Viktor.

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:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

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.

Reply via email to