• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Question How to Hide the Server IP in Sendmail?

J.Wick

Regular Pleskian
Server operating system version
Rocky Linux 8.6
Plesk version and microupdate number
18.0.44
Hello,

Is there an easy method to hide the server X-SOURCE-IP in sendmail or change it to the domain?

I want to secure my server further by hiding the server IP from the public.
 
This is not possible to do, because on the receiving end in the mail hop log that is inserted into the header of each received mail there is always a line like "Received from ... (ip address) by (local server)" etc. So even if you were able to remove any headers mentioning your IP address, the first hop between your server and the recipient will insert the IP address into the header.
 
This is not possible to do, because on the receiving end in the mail hop log that is inserted into the header of each received mail there is always a line like "Received from ... (ip address) by (local server)" etc. So even if you were able to remove any headers mentioning your IP address, the first hop between your server and the recipient will insert the IP address into the header.
So basically, set up an independent server and send all server and Sendmail emails through it.
 
Back
Top