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!

relay some domains to smart host but not all

Discussion in 'E-mail Discussion' started by bobster, Mar 4, 2014.

  1. bobster

    bobster Registered

    Joined:
    Mar 4, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    Currently exim is configured to relay all outgoing mail for all domains to a smart host. I would very much like to exclude 1 domain from using the smart host and use the local server instead.

    After hours of searching I have not found a solution yet. I am hoping someone here can point me in a direction.

    Here is my exim config for relaying to smart host:

    @ROUTERSTART@
    smart_route:
    driver = manualroute
    domains = !+local_domains
    transport = remote_smtp
    route_list = * smart.host.ip

    Thanks
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. bobster

    bobster Registered

    Joined:
    Mar 4, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi all,

    Just want to close this thread as successful. In case somebody else in need finds it. The above link worked perfectly for me. Thanks Michael for pointing it out.

    I posted one or two modifications that was needed for me in that post.
     
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