The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

IP Configuration for Mail

Discussion in 'E-mail Discussions' started by Mauritz, Apr 29, 2015.

  1. Mauritz

    Mauritz Active Member

    Apr 29, 2015
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hi there,

    We're running a cloudlinux server with cPanel3. We recently moved from another datacentre and did a transfer of all accounts to the new server.

    We've got a number of clients complaining about the age old blacklist issue and we're trying to find some methods to protect clients to the best of our ability. Once idea (and I don't know if this is possible nor if it even makes sense) is to have 2 dedicated IP addresses for that account, 1 used for the actual website (http) and the other for outgoing / incoming mail?

    I understand WHM uses exim and we're not sure if the above is possible and if so, how to go about it?

    We've setup all of the other items like SPF and dkim and reverse dns etc but interested if the above is possible, if it will make any real difference and if both, how we can go about doing it :)

    Thank you!
  2. 24x7ss

    24x7ss Well-Known Member

    Sep 30, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    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:

    For more details, you may refer below documentation:'s+Outgoing+IP+Address

Share This Page