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.

Can't send email with sendgrid

Discussion in 'E-mail Discussions' started by applikando, Apr 20, 2017.

  1. applikando

    applikando Registered

    Joined:
    Jan 23, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Crotone
    cPanel Access Level:
    Root Administrator
    Hi! I've problem with configuration of exim, i using now centos on google compute engine.
    • CENTOS 6.9 x86_64 kvm
    WHM 62.0 (build 21)

    I configured all with this:
    Section: AUTH
    sendgrid_login:
    driver = plaintext
    public_name = LOGIN
    client_send = : <YourSendGridUsername> : <YourSendGridPassword>

    Section: PREROUTERS
    send_via_sendgrid:
    driver = manualroute
    domains = ! +local_domains
    senders = *@<YourDomainHere>
    transport = sendgrid_smtp
    route_list = "* smtp.sendgrid.net::587 byname"
    host_find_failed = defer[/LIST]
    • Section: TRANSPORTSTART
      sendgrid_smtp:
      driver = smtp
      hosts = smtp.sendgrid.net
      hosts_require_auth = smtp.sendgrid.net
      hosts_require_tls = smtp.sendgrid.net
    • Where is my error? Thanks for your Support.
     
  2. BillyS

    BillyS Active Member

    Joined:
    Mar 22, 2013
    Messages:
    39
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    I've posted about a problem concerning emails from root.host.domain.com, which I have not solved yet. But for starters, google compute blocks port 587, so you need to change:

    route_list = "* smtp.sendgrid.net::587 byname"

    to:
    route_list = "* smtp.sendgrid.net::2525 byname"

    I'm assuming you've followed Sendgrid's directions as to changes to your DNS configuration.
     
    cPanelMichael likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @applikando,

    Let us know if the information on the previous post helps. If not, could you provide more information about the specific error message you receive?

    Thanks!
     
Loading...

Share This Page