Skip to main content

IP Configuration for Mail

Comments

2 comments

  • 24x7ss
    Hi :), Yes this is definitely possible to have different IPs for web and emails. You can set Dedicated IP to the cPanel account and then setup another IP for mail using the file /etc/mailips which is used in exim configuration. To set this up initially, go into WHM > Exim Configuration and enable this option: ** Send outgoing mail from the ip that matches the domain name in /etc/mailips (*: IP can be added to the file to change the main outgoing interface) [?] Then go to SSH, and edit the file /etc/mailips and then you can set different IPs for different domains like below: example.com: 192.168.0.2 sub.example.com: 192.168.0.2 example.net: 192.168.0.3 addon.example.net: 192.168.0.3 *: 192.168.0.1 For more details, you may refer below documentation:
    0
  • cPanelMichael
    Hello, Yes, as mentioned, this is documented at:
    0

Please sign in to leave a comment.