Subject: Re: How to make sendmail runs localy
To: Koizumi, Tsukasa <pigtail@jeton.or.jp>
From: Erik Bertelsen <erik@sockdev.uni-c.dk>
List: port-mac68k
Date: 03/31/1996 21:49:09
On Sun, 31 Mar 1996, Koizumi, Tsukasa wrote:

.. Then, when sending mail to other site on Internet, sendmail resolve host and
.. domain of target. It's also done when not connected Internet.....

The problem is that sendmail uses its own configuration file
(/etc/service.switch) and not NetBSD's own (/etc/resolv.conf).

If you create /etc/service.switch with just one line like

     hosts files bind

sendmail will consult /etc/hosts before the name service. This will enable
sendmail to send to local hosts when no internet connection is available.
You may have to install sendmail from NetBSD-current to get this to work.

regards
Erik Bertelsen.