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.

relay some domains to smart host but not all

Discussion in 'E-mail Discussions' 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. 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