From owner-freebsd-current@FreeBSD.ORG Sat Feb 18 11:42:17 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0BA116A424; Sat, 18 Feb 2006 11:42:17 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4505843D45; Sat, 18 Feb 2006 11:42:16 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D30B.dip.t-dialin.net [84.165.211.11]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k1IBTLGg077923; Sat, 18 Feb 2006 12:29:21 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k1IBgDxo074073; Sat, 18 Feb 2006 12:42:13 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sat, 18 Feb 2006 12:42:12 +0100 From: Alexander Leidinger To: foo@virtual-voodoo.com Message-ID: <20060218124212.363545a1@Magellan.Leidinger.net> In-Reply-To: <43F5F531.2070900@virtual-voodoo.com> References: <20060216094646.8qqpg683cwk0o0ww@netchild.homeip.net> <43F5F531.2070900@virtual-voodoo.com> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: re@freebsd.org, current@freebsd.org Subject: Re: reversed behavior with nsswitch.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 11:42:18 -0000 Am Fri, 17 Feb 2006 11:09:21 -0500 schrieb Foo : > Hi, > > I have run into this as well. I am a student in a class that required > us to set up sendmail in an environment where we don't have access to > the local DNS, so all our resolution is done via /etc/hosts. I had to > be able to send email between our three *nix boxes, and it kept breaking > on the DNS resolution. Initially, I used mailertable entries to > circumvent the issue since every other strategy I found to turn off DNS > resolution for sendmail didn't work. However, upon reading this, I > switched the order of the > "hosts" settings in nsswitch.conf and got rid of the mailertable entries > and it worked. So yes, I have run into the issue as well. I am using > 6.0-RELEASE. Is it possible for you to update to 6.1-BETA2? Either by doing a binary update or by updating /usr/src and doing a build/install? I haven't tested it, but someone suggested in private mail to use "hosts: files [success=return] dns" (he told me this is the way linux distributions are doing this) which suggests that the documented default criteria in nsswitch.conf(5) doesn't work. Can you test if this work-around works? Bye, Alexander. -- The dark ages were caused by the Y1K problem. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/