[rhn-users] Sendmail ignoring(?) /etc/nsswitch.conf

Jef Elliott jef_umd at umd.umich.edu
Thu Jun 30 13:02:00 UTC 2005


George R Goffe wrote:
> Howdy,
> 
> I'm running a rhel 3 update 4 linux system and am trying to get
> sendmail to "obey" /etc/nsswitch.conf. Sendmail insists on using dns
> to resolve a host who is out of service (ping just sits there).
> nsswitch.conf has "hosts: files dns" in it. Any service who uses
> gethostbyname() seems to go directly to dns.


Sendmail isn't looking for a host, really - it's looking for an MX 
record for a host/domain, which it would need to get from DNS.

(Since the host is down, I'm assuming that it isn't set up as a 
SmartHost for relaying mail. There, an /etc/hosts entry would work.)


> Does anyone have any clues as to where to look?

  http://www.sendmail.org/faq/section3.html#3.22

jef




More information about the rhn-users mailing list