Need help with Changing Mail Server IP and Resolve RDNS Issue
Hello,
We are using xxx.domain.com as our server Hostname & it's the same for HELO in mailhelo file.
Our Mail server IP was our main server IP as well, now Outlook has blocked it due to a few spam complaints.
We want to change the Outgoing mail server IP to a new IP and we updated the mailips file in /etc/ folder as per the guide to the new IP.
Now we are noticing in "Email Deliverability" section of cPanel that Reverse DNS does not match with the outgoing server's new IP. It's asking us to update the A records for xxx.domain.com. It also pointed out that to update SPF records, we ran the WHM function to update the SPF records on all websites but I doubt the websites that are using external DNS like Cloudflare will have to be manually updated.
If we change the "A" record for xxx.domain.com, will this impact the server functioning like SSL might get broken when clients try to access WHM/cPanel?
What is the correct way to resolve this issue without disturbing the server's functioning?
-
Hey there! As you've found, you'll need to ensure the IP address in rDNS matches the hostname of the machine. SSL certificates are domain-based and not IP-based, so changing the IP of the hostname will not have negative effects on the SSL certificate.
0 -
Let's say that your server's hostname is xxx.domain.com, and the IP is 11.11.11.11
If you have another IP in your server, let's say 22.22.22., in the DNS of domain com you set:
yyy.domain.com A 22.22.22.22Then you must set the rDNS for 22.22.22.22, so that it resolves to yyy.domain.com
That you can't do in WHM, you must ask your host to set it, or maybe do it in their control panel.In WHM -> Exim Configuration Manager -> Domains and IPs you set:
Reference /etc/mailhelo for custom outgoing SMTP HELO => ON
and
Reference /etc/mailips for custom IP on outgoing SMTP connections => ONThen in file /etc/mailips you set:
*: 22.22.22.22
and in /etc/mailhelo:
*:yyy.domain.com
Then in command line:
service exim reload0
Please sign in to leave a comment.
Comments
2 comments