Hi --

I am using BSD_4.3-RELEASE and have a problem with service.switch.

I want sendmail to deliver to hosts on the local network without
consulting DNS -- i.e. to check /etc/hosts for IP addresses.

If I place the following line in /etc/mail/service.switch

hosts files

everything works as expected.

But if instead I place the following line in /etc/mail/service.switch

hosts files dns

then mail gets queued (deferred) with a host name lookup failure when
the DNS server is not reachable.

I thought that the if the requested host was successfully found in
the /etc/hosts file that dns should never be consulted.  But apparently 
DNS is being consulted, even though I stipulated that lookup should
first be done in /etc/hosts.

Is there a bug in my configuration or understanding?

TIA

-------------------------------------------------------------------
Orville R. Weyrich, Jr.                 Weyrich Computer Consulting
mailto:[EMAIL PROTECTED]     KD7HJV        http://www.weyrich.com
-------------------------------------------------------------------


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to