Sending mail via Sendmail gives error in maillog "Name server: mail.example.com: host name lookup failure"
Issue
- Trying to send email gives error:
Jun 20 16:28:21 i5981dlg11 sendmail[23064]: q5KJV9nd010876: to=<blongo@example.com>, ctladdr=<root@i5981dlg11.inside.example.com> (0/0), delay=00:57:12, xdelay=00:00:00, mailer=relay, pri=210350, relay=mail.example.com, dsn=4.0.0, stat=Deferred: Name server: mail.example.com: host name lookup failure
- Here mail.example.com is configured as smart host.
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.