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.

Exim relay advice

Discussion in 'E-mail Discussions' started by ARPLink, Mar 7, 2011.

  1. ARPLink

    ARPLink Member

    Joined:
    Mar 7, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I'm relaying part of my client's emails(the ones to free providers) through another cpanel server. So far the relay seems to work, but I want to upgrade it to a smarter concept. For now, I have an exim.conf.local file with an entry like this for every provider's domain:

    @ROUTERSTART@
    smart_route:
    driver = manualroute
    domains = yahoo.com
    transport = remote_smtp
    route_data = "relay server IP address"
    @ROUTERSTART@
    smart_route1:
    driver = manualroute
    domains = yahoo.co.uk
    transport = remote_smtp
    route_data = "relay server IP address"

    My question is: How can I modify this so I only user 1 entry per free email provider. For example, use only one smart route that catches @yahoo.com and @yahoo.co.uk and all the other @yahoo.* extensions.

    Thank you.
     
Loading...

Share This Page