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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ignore smart host on special tld and for specific accounts

Discussion in 'General Discussion' started by mattporteruk, Dec 5, 2017.

  1. mattporteruk

    mattporteruk Registered

    Joined:
    Dec 5, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ipswich, UK
    cPanel Access Level:
    Root Administrator
    Good Afternoon.

    I have a smart host set up with Send Grid, however certain TLD's are being rejected by their email servers if sent via Sendgrid, I would therefore like to send these domains via standard mail delivery.
    ie matt@testing1.com ===>smarthost (default)
    *@hotmail.com ===> ignore smarthost

    Is this possible please?

    I am using the advanced exim settings
     
  2. mattporteruk

    mattporteruk Registered

    Joined:
    Dec 5, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ipswich, UK
    cPanel Access Level:
    Root Administrator
    Here is my PREROUTERS

    send_via_sendgrid:
    driver = manualroute
    domains = ! +local_domains
    transport = sendgrid_smtp
    route_list = "* smtp.sendgrid.net::25 byname"
    host_find_failed = defer
    no_more
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,516
    Likes Received:
    1,616
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page