Thanks for suggestion. 

 
I have created header_check filter with following but no success.
/^Received:.*\[127\.0\.0\.1/      IGNORE
/^Received:.*\[10\.2\.1\.83/ IGNORE
/^Received:.*\[192\.168\.1\.[0-9]/      IGNORE

anything i am missing. 

Regards,
Ramesh







________________________________
 From: Noel Jones <njo...@megan.vbhcs.org>
To: postfix-users@postfix.org 
Sent: Monday, 5 December 2011 9:32 PM
Subject: Re: hide private ip in header
 
On 12/5/2011 9:40 AM, Ramesh wrote:
> 
> Hi List,
> 
> 
> I would like know to steps required to hide private ip address in
> postfix, when we sent email, full header at recipient end shows
> client private ip address and also shows public ip address of
> firewall instead of public ip address of mail server. i have cross
> checked iptables nating rules which are correct.
> 
> appreciate suggestion to resolve the issue even i have tried with
> domain_masqurade not successful
> 
> Thanks and Regards,
> Ramesh 
>  


You can remove internal IPs with an IGNORE header_checks rule.  Be
careful your rule is specific enough that you don't remove headers
from outsider's mail.  See postfix-users archives for examples.
WARNING: removing internal IPs is seldom necessary and hides
valuable debugging information.

The public IP Received: header is added by the receiving system;
that's the IP they receive the mail from.  If your mail server has
multiple addresses, smtp_bind_address can control which one is used.
http://www.postfix.org/postconf.5.html#smtp_bind_address




  -- Noel Jones

Reply via email to