Date: Mon, 12 Jul 1999 14:39:55 +0930 From: Greg Lehey <grog@lemis.com> To: Vallo Kallaste <vallo@matti.ee> Cc: Andrew MacIntyre <andymac@bullseye.apana.org.au>, freebsd-questions@FreeBSD.ORG Subject: Re: How to get rid of Sendmail DNS lookups? Message-ID: <19990712143955.H21403@freebie.lemis.com> In-Reply-To: <19990711135644.A30695@myhakas.matti.ee>; from Vallo Kallaste on Sun, Jul 11, 1999 at 01:56:45PM %2B0300 References: <19990710200757.A29197@myhakas.matti.ee> <Pine.OS2.3.95.990711112433.337A-100000@CENTRAL> <19990711135644.A30695@myhakas.matti.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 11 July 1999 at 13:56:45 +0300, Vallo Kallaste wrote: > On Sun, Jul 11, 1999 at 11:28:10AM +1000, Andrew MacIntyre <andymac@bullseye.apana.org.au> wrote: > >> Tried putting "hosts" before "bind" in /etc/host.conf? Make sure that >> /etc/hosts has a localhost entry and an entry for the hostname. > > Yes, sure. The /etc/hosts contains: > > 127.0.0.1 localhost > 192.168.0.1 tiiu > 192.168.0.2 mari > 194.126.98.135 solaris.matti.ee solaris > > /etc/host.conf: > > hosts > bind > > /etc/service.switch: > > hosts files > > I have two computers, the new one named tiiu and an old 486 named mari > which is almost all the time down. I haven't specified the domain part > in the rc.conf for hostname, but I have tried it too with no difference. > The network interface is up on the tiiu all the time but shows no > carrier. I guess it doesn't matter is it up or not. I have "ppp -auto me" > running. It's really very simple setup, practically one computer linked > to internet over partial-time dynamic ppp. The solaris entry in the > hosts file is the SMART host for sendmail, I'm getting all the mail over > POP3 from the same host. Delivery mode is deferred. I have no clue why > sendmail does DNS lookup when told not to do so. Weird. Any additional > thoughts? I've noticed this too. Based on the documentation, it's not clear whether it's a bug or a feature. But there used to be a configuration variable for sendmail which would completely remove any DNS lookups in the binary. You'll have to look in the sources to find it. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990712143955.H21403>