Answer the question
In order to leave comments, you need to log in
Removing ip info from email header?
Good afternoon, the question is not entirely trivial
In the header of the letter, information of the form is now added -
-------
Return-Path: <---- my mailbox in exchange
Delivered-To: [email protected] <----- - to whom I send
Received: from mail.mykompany.ru (mail.mykompany.ru [148.xx.xx.xx]) <---- server info
------
I removed the display of the internal ip exchange server from the header by means of rules in the "mail processing flow"
and now there is a rule that substitutes the real ip of the domain record for exchange (I will give a screen below for understanding)
Answer the question
In order to leave comments, you need to log in
Your scheme is not quite clear, and what you are afraid of.
And if the exchange sends/receives letters directly (not through some kind of relay), then its real ip will be written to the headers by the servers that receive mail from it, and you won't do anything with it. Also, its ip will be in the MX record of your domain.
if you have an intermediate relay or nginx as a proxy, then you firewall your exchange from the outside world and only the relay communicates with it.
The task is to completely remove the visibility of the real ip on which the exchange is running
I will do it using nginx and reverse proxy,
You don’t need to use transport rules, and even more so nginx (I didn’t really understand how it would cut something in smtp traffic), starting from Exchange 2013, Microsoft introduced the “ Header Firewall ” feature.
The idea to remove internal names and IP addresses is very sound, you just need to send-connector for "NT AUTHORITY\ANONYMOUS LOGON" remove ms-Exch-Send-Headers-Routing rights.
Here is a detailed article on how to do it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question