Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Set outgoing IP based on recipient domain

Discussion in 'E-mail Discussion' started by FM Kappungal, Mar 24, 2019.

  1. FM Kappungal

    FM Kappungal Member

    Joined:
    Feb 24, 2019
    Messages:
    18
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    Saudi Arabia
    cPanel Access Level:
    Root Administrator
    I know how to set the exim outgoing IP by using /etc/mailips and /etc/mailhelo. But I'm looking for a possible way for exim to pick the outgoing IP based on the domain of the remote recipient.

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,328
    Likes Received:
    2,157
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @FM Kappungal,

    Here's a link with information about configuring the outgoing IP address for Exim in-case anyone else reaches this thread and is curious about how to do this:

    How to Configure the Exim Outgoing IP Address - cPanel Knowledge Base - cPanel Documentation

    There's no native support for using multiple entries in the /etc/mailhelo and /etc/mailips file based on the recipient's domain name. There's a third-party workaround submitted on the link below you can reference as proof-of-concept, but keep in-mind this is untested and isn't based on your exact request:

    https://serverfault.com/a/793117

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice