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!

SMTP Relay Question

Discussion in 'E-mail Discussion' started by jeffcan, Mar 5, 2014.

  1. jeffcan

    jeffcan Member

    Joined:
    Nov 13, 2013
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hello guys,
    I'm pretty confuse about exim configuration and I am hoping to find some kind of help here.

    Here is my story:

    I have a dedicated server at redstation datacenter and they've made it mandatory that we should use their SMTP relay server to send emails. I have configured my server by referring their FAQ page /http://www.redstation.com/dedicated-server/dedicated-server-faqs#MailRelayFAQ and it works flawless right now. :) I can send emails without any problem BUT I need to change something...


    What I would like to do is that I want to use another email relay service just for one specific domain name.
    All other domains on my server should still use redstation relay.

    How could I tweak my exim configuration?

    Please have a look at my current exim configuration below
    I have only edited 'ROUTERSTART' section.


    Code:
    smarthost:
    
    driver = manualroute
    
    domains = !+local_domains
    
    transport = remote_smtp
    
    route_data = "relay.redstationmail.co.uk"
    and as I mentioned, it works flawless right now with this configuration BUT I need to use another email relay just for one specific domain name..

    PS: I have multiple IP addresses and domain that I would like to route has it's own ip. My exim also configured to send out emails by using domain's specific IP address


    Please help me about this issue. I have tried alot of stuff but I don't want to talk about here to not confuse anyone
    Thank you so much in advanced!!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    There are no native features available to setup a separate smart host for different domain names, however you are welcome to try implementing this functionality manually. The following post should provide some information to help you get started:

    Certain Domains Through Smart Host

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jeffcan

    jeffcan Member

    Joined:
    Nov 13, 2013
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    it didn't help me unfortunately. I don't that much technical knowledge to understand it
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You may want to consult with a system administrator if you are not comfortable setting up something like this on your own.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. jeffcan

    jeffcan Member

    Joined:
    Nov 13, 2013
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    That's why I am here Micheal. To seek information from system administrators.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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