IP address Not found when using sendgrid

Astrocoy

Registered
Jan 20, 2018
1
0
1
Indonesia
cPanel Access Level
Root Administrator
Help, i just setup new server and usually i imported the same exim setting from my previous server. but when finish exim not sending my email, it defer and stuck in mail queue.

I delivered manually and got failed message.
Code:
  cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1ecwai-0007FX-GA
delivering 1ecwai-0007FX-GA
LOG: host_lookup_failed MAIN
  no IP address found for host smtp.sendgrid.net
LOG: MAIN
  == [email protected] R=send_via_sendgrid defer (-32): lookup of host "smtp.sendgrid.net" failed in send_via_sendgrid router
i has setup another 2 servers and result is same. but its not problem in my old server.
Please help me to fix it.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

It looks like you are using a custom SendGrid configuration. Check their section on "cPanel" at the following URL to verify you followed the required steps:

Exim 4 configuration for SendGrid - SendGrid Documentation | SendGrid

If so, make sure your cPanel server can resolve the "smtp.sendgrid.net" hostname. EX:

Code:
host smtp.sendgrid.net
Thank you.