Here is log at recipient end, 164.164.87.90 is public ip address and 10.3.1.83 
is private ip of mail server and 192.168.1.114 is local client ip address.
how to hide our private ip address (10.3.1.83 and Local subnet)


##########Log
Return-Path: <ram...@ltp.soft.net>
X-YahooFilteredBulk: 164.164.87.90
Received-SPF: pass (domain of ltp.soft.net designates 164.164.87.90 as 
permitted sender)
X-Originating-IP: [164.164.87.90]
Authentication-Results: mta1015.mail.in.yahoo.com  from=ltp.soft.net; 
domainkeys=neutral (no sig);  from=ltp.soft.net; dkim=neutral (no sig)
Received: from 127.0.0.1  (EHLO ltp.soft.net) (164.164.87.90)
  by mta1015.mail.in.yahoo.com with SMTP; Tue, 06 Dec 2011 16:43:40 +0530
Received: from mailhub.ltp.soft.net (Not Verified[10.3.1.83]) by ltp.soft.net 
with NetIQ MailMarshal 
    id <B4eddfbdf0000>; Tue, 06 Dec 2011 16:56:23 +0530
Received: from [192.168.1.114] (unknown [192.168.1.114])
#######

Thanks and Regards,
Ramesh



________________________________
 From: Noel Jones <njo...@megan.vbhcs.org>
To: postfix-users@postfix.org 
Sent: Tuesday, 6 December 2011 6:56 PM
Subject: Re: hide private ip in header
 
On 12/6/2011 6:47 AM, Ramesh wrote:
> 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. 


[Don't top post]

This is wrong.  You must not remove headers from other people's mail
-- if my mail has those IPs in it, you must not alter it.

At a minimum, add something like '.*by myhost.example.com' to
restrict matches to headers added by your server.

See the mail list archives for examples and details.


If you still have trouble, show "postconf -n" output and the actual
header you're trying to match.



  -- Noel Jones

Reply via email to