From owner-freebsd-questions Wed Jun 16 13:14:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from broccoli.graphics.cornell.edu (BROCCOLI.GRAPHICS.CORNELL.EDU [128.84.247.53]) by hub.freebsd.org (Postfix) with ESMTP id 37AB114C0C for ; Wed, 16 Jun 1999 13:14:30 -0700 (PDT) (envelope-from mkc@Graphics.Cornell.EDU) Received: from graphics.cornell.edu (localhost.graphics.cornell.edu) by broccoli.graphics.cornell.edu with ESMTP (1.37.109.16/16.2) id AA192414066; Wed, 16 Jun 1999 16:14:26 -0400 Message-Id: <199906162014.AA192414066@broccoli.graphics.cornell.edu> X-Mailer: exmh version 2.0zeta 7/24/97 To: "thomas.uhrfelt@plymovent.se" Cc: "'freebsd-questions@FreeBSD.ORG'" Subject: Re: FreeBSD, Sendmail and DNS In-Reply-To: Your message of "Wed, 16 Jun 1999 10:17:58 +0200." <01BEB7E1.8250A380.thomas.uhrfelt@plymovent.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 16 Jun 1999 16:14:25 -0400 From: Mitch Collinsworth Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What's in your /etc/host.conf ? -Mitch >I am trying to get Sendmail on my gateway to relay all incoming mail to = >a=20 >machine within the internal 192.168.20.0 net and so I am using the = >MAILHUB=20 >option of sendmail. > >but sendmail complains about dns lookup failed whenever I try to relay = >to the=20 >machine dummy.ournet.com even if its listed in the /etc/hosts file. OK, = >I=20 >thought, perhaps we need a service switch file, so my = >/etc/service.switch=20 >file looks like: > >hosts hosts dns > >and still the same error.. what can I do to make sendmail recognize = >internal=20 >names ( I will still need external names (dns) because I want to be able = > to=20 >send mail out on the net, so disabling the dns alltogether isnt an = >option. I=20 >have tried looking in the sendmail FAQ, and yes.. I have looked and = >looked in=20 >the bat-book from O'Reilly ).. > >Please help me, I am going nuts. ;-) > >Thomas Uhrfelt thomas.uhrfelt@plymovent.se >Computer Technician > >PlymoVent AB >F=F6reningsgatan 37 >211 52 Malmoe >Sweden > >http://www.plymovent.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message