sendmail dns config question - SendMail

This is a discussion on sendmail dns config question - SendMail ; All, The system is fc6 with sendmail 8-13-8-2. The sendmail.cf file is stock. Local mail service is functioning normally. However attempts to send mail resulted in "host map: lookup (domain): deferred). These e-mails remained unsent for over 12 hours. After ...

+ Reply to Thread
Results 1 to 2 of 2

sendmail dns config question

  1. Default sendmail dns config question

    All,

    The system is fc6 with sendmail 8-13-8-2. The sendmail.cf file is
    stock. Local mail service is functioning normally. However attempts to
    send mail resulted in "host map: lookup (domain): deferred). These
    e-mails remained unsent for over 12 hours.

    After some surfing I came across advice to:

    #nslookup domain; sendmail -v -q

    After executing this command the e-mail was sent. This apparently
    populated a cache that allowed sendmail to resolve the address. What is
    the cache?

    How can sendmail be configured to successfully do this on its own?

    Thanks - Dan


  2. Default Re: sendmail dns config question

    On Sat, 23 Dec 2006, in the Usenet newsgroup comp.mail.sendmail, in article
    <U--dnZUAc-Rm9BDYnZ2dnUVZ_tadnZ2d@comcast.com>, dansawyeror wrote:

    >#nslookup domain; sendmail -v -q
    >
    >After executing this command the e-mail was sent. This apparently
    >populated a cache that allowed sendmail to resolve the address. What is
    >the cache?


    Not quite enough information - but what happens if you try to 'ping'
    the domain? Does the name resolve? If _NOT_ then what does the files
    /etc/host.conf and /etc/nsswitch.conf look like? Do they have a line
    that contains the word 'host'?

    [compton ~]$ grep host /etc/host.conf /etc/nsswitch.conf
    /etc/host.confrder hosts,bind
    /etc/nsswitch.conf:hosts: files nis dns
    [compton ~]$

    Explanation: 'nslookup' (and 'dig', and 'dnsquery' and 'host') are DNS
    query tools that are solely used to query a DNS server. The normal
    hostname lookup is run by a function in the C library, and this function
    looks at one or the other of those files to see where it should try to
    find the hostname:IPaddress data. The entries above tell the resolver to
    look first in the /etc/hosts file (hosts or file), and if that fails, to
    look elsewhere - eventually looking at nameserver data (bind or dns).

    The DNS query tools ignore these files, because their job is to query
    the name servers listed in /etc/resolv.conf (or the one on localhost if
    no 'nameserver' line is in resolv.conf).

    Old guy

+ Reply to Thread

Similar Threads

  1. SendMail...config
    By Application Development in forum SendMail
    Replies: 2
    Last Post: 11-28-2007, 09:32 AM
  2. sendmail/ssl config error?
    By Application Development in forum SendMail
    Replies: 0
    Last Post: 06-13-2007, 12:12 PM
  3. need help with an aspect of sendmail config
    By Application Development in forum SendMail
    Replies: 3
    Last Post: 05-30-2007, 11:49 PM
  4. Sendmail config on AIX
    By Application Development in forum SendMail
    Replies: 2
    Last Post: 03-15-2007, 12:23 AM
  5. Sendmail config fun...
    By Application Development in forum SendMail
    Replies: 7
    Last Post: 02-15-2007, 07:46 AM