Remote-MTA: dns; [192.168.92.98] private ip elimination

postfix

I have Postfix installed, Whenever my email bounces back in the header information it is showing private ip (internal infrastructure), which i wanted to eliminate

Reporting-MTA: dns; xxxxx.xxxxxx.com

Final-Recipient: rfc822;ajkdafjhkfsd@xxxxxx.com
Action: failed
Status: 5.0.0 (permanent failure)
Remote-MTA: dns; [192.168.92.98]
Diagnostic-Code: smtp; 5.1.0 – Unknown address error 550-"This user doesn't have a in.com account" (delivery attempts: 0)

Please help if i will be able to eliminate or strip private ip address.

Best Answer

Removing header information outside the guidelines in the RFC is not advisable; it seems you are bouncing this message inside your local network, after already accepting it at the edge.

You should NEVER accept mail you cannot deliver; instead, reject unknown recipients on the MX host.

Related Topic