My machine is a part of a network which has NIS but not DNS.
Everything was working fine with RedHat 5.2 default sendmail
configuration but after upgrading to 6.0, everything went for
a toss. Now, for every mail that I send to the other hosts on
the network, sendmail tries to lookup the target host from DNS, 
failing which, it queues up all the mails in deferred state. 
What I want is that it should  take the hosts & aliases databases 
from the NIS (or local files at least...)
I tried the ServiceSwictch option in sendmail.cf with the file
/etc/service.switch as:

hosts:      files nis
aliases:    files nis

but still it keeps doing DNS lookups :(
How do i prevent sendmail from doing this and make
NIS (or at least local hosts/aliases databases) work?

Thanks in advance,
-SS

Reply via email to