Get your own free workspace
View
 

Sendmail

Page history last edited by PBworks 4 years, 2 months ago
  • Create a sendmail access database

 

 

makemap hash /etc/mail/access.db < /etc/mail/access

 

  • Determine version of Sendmail

 

 

/usr/sbin/sendmail -d0 < /dev/null | grep -i version

 

  • host map: lookup (example.com): deferred

 

This Sendmail error, also seen as "Transient parse error -- message queued for future delivery" or "Name server: domain: host not found" indicates that sendmail encountered a problem with one of its DNS resource record lookups of the destination domain.

 

Starting with Sendmail 8.12, Sendmail queries the following 3 DNS resource records in order:

AAAA

A

MX

 

With Sendmail 8.12.x, you can ignore AAAA "SERVFAIL" or "NXDOMAIN" errors and continue DNS processing with the following entry in your macro configuration (.mc) file:

 

 

define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl

 

If the A or MX record lookup for the domain returns a "SERVFAIL," sendmail will queue the message, believing it has encountered a transient DNS problem.

For example, if a domain has a valid A record but returns a "SERVFAIL" when queried for an MX record (instead of "NOERROR" with an empty answer section), sendmail will queue the message.

 

To watch Sendmail's DNS queries when processing a queued message, use the -d8.8 debug syntax:

 

 

sendmail -v -d8.32 -qImessage_ID

 

Comments (0)

You don't have permission to comment on this page.