From owner-freebsd-questions Wed Jun 16 1:19: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (Postfix) with ESMTP id EB1B11531A for ; Wed, 16 Jun 1999 01:19:01 -0700 (PDT) (envelope-from thomas.uhrfelt@plymovent.se) Received: from d1o68.telia.com (root@d1o68.telia.com [62.20.138.241]) by mailb.telia.com (8.8.8/8.8.8) with ESMTP id KAA03302 for ; Wed, 16 Jun 1999 10:18:59 +0200 (CEST) Received: from telia (t3o68p4.telia.com [62.20.139.4]) by d1o68.telia.com (8.8.8/8.8.5) with SMTP id KAA28857 for ; Wed, 16 Jun 1999 10:18:59 +0200 (CEST) Received: by localhost with Microsoft MAPI; Wed, 16 Jun 1999 10:17:59 +0200 Message-ID: <01BEB7E1.8250A380.thomas.uhrfelt@plymovent.se> From: Thomas Uhrfelt Reply-To: "thomas.uhrfelt@plymovent.se" To: "'freebsd-questions@FreeBSD.ORG'" Subject: FreeBSD, Sendmail and DNS Date: Wed, 16 Jun 1999 10:17:58 +0200 Organization: PlymoVent AB X-Mailer: Microsoft Internet-e-post/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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