From owner-freebsd-net Mon Jun 11 1: 8:25 2001 Delivered-To: freebsd-net@freebsd.org Received: from mario.zyan.com (mario.zyan.com [209.250.96.140]) by hub.freebsd.org (Postfix) with ESMTP id 8AAB137B405 for ; Mon, 11 Jun 2001 01:08:22 -0700 (PDT) (envelope-from orville@weyrich.com) Received: from dopey.weyrich.com (node-64-249-12-250.dslspeed.zyan.com [64.249.12.250]) by mario.zyan.com (8.9.3/8.9.3) with ESMTP id LAA40547 for ; Sun, 10 Jun 2001 11:08:24 -0700 (PDT) (envelope-from orville@weyrich.com) Received: from localhost (orville@localhost) by dopey.weyrich.com (8.9.3/8.6.9) with ESMTP id AAA27444 for ; Mon, 11 Jun 2001 00:53:53 -0700 Date: Mon, 11 Jun 2001 00:53:53 -0700 (MST) From: "Orville R. Weyrich.Jr" To: freebsd-net@FreeBSD.ORG Subject: Sendmail service.switch problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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:orville@weyrich.com KD7HJV http://www.weyrich.com ------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message