From owner-freebsd-questions Wed Jan 26 10:52:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hal.medianet.ie (hal.medianet.ie [212.17.32.26]) by hub.freebsd.org (Postfix) with ESMTP id 7C0A414CF5 for ; Wed, 26 Jan 2000 10:52:24 -0800 (PST) (envelope-from relyod@co-operation-ireland.ie) Received: from liffey.co-operation-ireland.ie .(letttuce.medianet.ie [212.17.34.128]) by hal.medianet.ie (DIESPAM/NR) with ESMTP id TAA28009; Wed, 26 Jan 2000 19:52:28 GMT Received: from it1 (it1 [199.107.2.129]) by liffey.co-operation-ireland.ie (8.9.3/8.9.3) with SMTP id SAA04738; Wed, 26 Jan 2000 18:48:29 GMT (envelope-from relyod@co-operation-ireland.ie) Message-Id: <3.0.5.32.20000126185040.00857e70@199.107.2.1> X-Sender: relyod@199.107.2.1 X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Wed, 26 Jan 2000 18:50:40 +0000 To: "Thomas Uhrfelt" From: Michael Doyle Subject: RE: Help with sendmail Cc: questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks Dumb question, but how do I go about setting up a small DNS that will then cache the entries from the ISP's dns - it "needs" to be able to resolve my own domain name at least :) Pointers on where to look ? At 18:56 26/01/00 +0100, you wrote: >I've been there, done that (about 6 months ago) and in the end, I ended up >setting up a small DNS that rejected all DNS queries from outside and just >served Sendmail. I think the service.switch is just for Solaris (my memory >might fail me) - the last remaining option I had (and I tried more than >this) was to recompile (edited sendmail source) and deploy my own binary - >but I never did. > >Regards, > >Thomas Uhrfelt > >> -----Original Message----- >> From: owner-freebsd-questions@FreeBSD.ORG >> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Michael Doyle >> Sent: Wednesday, January 26, 2000 6:35 PM >> To: freebsd-questions@FreeBSD.ORG >> Subject: Help with sendmail >> >> >> I need help to configure sendmail on my server not to >> use DNS by default. >> >> >From the sendmail FAQ: >> >In situations where you're behind a firewall, or across a dial-up line, >> >there are times when you need to make sure that programs (such as >> >sendmail) do not use the DNS at all. >> >> >With version 8.8, you change the service switch file to omit "DNS" and >> >use only NIS, files, and other map types as appropriate. >> >> Here's what I've tried: >> >> However, creating a file "/etc/service.switch" >> (and uncommenting the service switch file in /etc/sendmail.cd >> so that it reads >> >> O ServiceSwitchFile=/etc/service.switch >> and taking the other steps (HoldExpensive=True, and adding "e" to the "F=" >> lines for SMTP and RELAY, etc. mailer definitions) >> >> The /etc/service.switch file contains a single line with the entry >> hosts >> >> What (if anything) have I done wrong or left out? >> Since upgrading to FreeBSD 3.2 (from 2.2.7) the server rejects all >> local email if it cannot phone the ISP - so if the ISP is busy, no-one >> can even add mail to the queue - with FreeBSD 2.2.7, when the ISP was >> unavailable, messages were queued. - It's probably the new anti-spam >> rules causing the problem - but I need some way of "fixing" it. >> >> Please contact me directly with suggestions (I'm not subscribed >> to the list - too many messages) >> >> >> >> >> <>< ============================================================ ><> >> Michael Doyle email: relyod@co-operation-ireland.ie >> Network Administrator personal email: relyod@indigo.ie >> Co-operation Ireland http://www.co-operation-ireland.ie/ >> Phone: +353-1-661 0588 Fax: +353-1-661 8456 >> >> ********************************************************************* >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message >> > > > <>< ============================================================ ><> Michael Doyle email: relyod@co-operation-ireland.ie Network Administrator personal email: relyod@indigo.ie Co-operation Ireland http://www.co-operation-ireland.ie/ Phone: +353-1-661 0588 Fax: +353-1-661 8456 ********************************************************************* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message