From owner-freebsd-questions Sun Jul 11 22:10: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 46687151F9 for ; Sun, 11 Jul 1999 22:09:57 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id OAA04283; Mon, 12 Jul 1999 14:39:56 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id OAA29303; Mon, 12 Jul 1999 14:39:55 +0930 (CST) Date: Mon, 12 Jul 1999 14:39:55 +0930 From: Greg Lehey To: Vallo Kallaste Cc: Andrew MacIntyre , freebsd-questions@FreeBSD.ORG Subject: Re: How to get rid of Sendmail DNS lookups? Message-ID: <19990712143955.H21403@freebie.lemis.com> References: <19990710200757.A29197@myhakas.matti.ee> <19990711135644.A30695@myhakas.matti.ee> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990711135644.A30695@myhakas.matti.ee>; from Vallo Kallaste on Sun, Jul 11, 1999 at 01:56:45PM +0300 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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