Skip to main content

Need help with Changing Mail Server IP and Resolve RDNS Issue

Comments

2 comments

  • cPRex Jurassic Moderator

    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
  • quietFinn

    @gossdhosting

    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.22

    Then 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 => ON

    Then in file /etc/mailips you set:
    *: 22.22.22.22
    and in /etc/mailhelo:
    *:yyy.domain.com

    Then in command line:
    service exim reload

     

     

     

    0

Please sign in to leave a comment.