From owner-freebsd-questions Sun Jan 5 17:15:39 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83E8237B401 for ; Sun, 5 Jan 2003 17:15:35 -0800 (PST) Received: from mmp-2.gci.net (mmp-2.gci.net [208.138.130.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED39F43EB2 for ; Sun, 5 Jan 2003 17:15:34 -0800 (PST) (envelope-from jonr@destar.net) Received: from destar.net ([24.237.7.240]) by mmp-2.gci.net (Netscape Messaging Server 4.15) with SMTP id H89Q5X01.SGF for ; Sun, 5 Jan 2003 16:15:33 -0900 Received: from 192.168.1.1 (SquirrelMail authenticated user jonr@destar.net) by www.destar.net with HTTP; Sun, 5 Jan 2003 16:14:44 -0900 (AKST) Message-ID: <2811.192.168.1.1.1041815684.squirrel@www.destar.net> Date: Sun, 5 Jan 2003 16:14:44 -0900 (AKST) Subject: RE: Internal mail server From: To: In-Reply-To: <4878.10.0.0.2.1041813383.squirrel@mail.karamazov.org> References: <1890.192.168.1.1.1041810877.squirrel@www.destar.net> <00c201c2b517$751b64c0$0200a8c0@bartxp> <2197.192.168.1.1.1041812452.squirrel@www.destar.net> <4878.10.0.0.2.1041813383.squirrel@mail.karamazov.org> X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.9) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>> -----Original Message----- >>>> From: owner-freebsd-questions@FreeBSD.ORG >>>> [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of >>>> jonr@destar.net >>>> Sent: Sunday, January 05, 2003 3:55 PM >>>> To: freebsd-questions@FreeBSD.ORG >>>> Subject: Internal mail server >>>> >>>> >>>> Here is my problem: >>>> >>>> I have a lab with students that is going to be taught how >>>> to use an email client(Outlook). I want to set them up on an >>>> internal server that will not be visible from the outside >>>> world(Internet). I have the mail server setup using qmail and >>>> freebsd4.7. I also want to use a fake domain name, i.e. >>>> labcomps.net,.org,.com whatever, so that I will be able to >>>> send email within the class and no email will go outside or >>>> from the outside to the inside. >>> >>> Ironically, i just finished doing exactly that, if I understand you >>> correctly. >>> >>> >>>> >>>> Questions: >>>> 1. Can I setup a dns server to do this with the fake domain >>>> name and not be visible to the outside? >>> >>> Yup. I set up a DNS server on my lan to respond to my fake domain. >>> Sorry, I used a friend's DNS configuration as a guide, so I cannot >>> give too many examples. I did check the freebsd handbook for many >>> small items for dns though. Just make sure your hostname matches the >>> dns stuff to make life easier. >>> >>>> >>>> 2. Has somebody done this type of setup before and have any >>>> online documentation that I could follow? >>> >>> Qmail: >>> http://logicsquad.net/freebsd/qmail-how-to.html >>> >>> >>> >>>> >>>> 3. Can somebody tell me if this is even a possibility? >>>> >>>> Thank You, >>>> >>>> Jon >>>> >>>> >>>> >> Excellent! This is what I was hoping I would hear. The one question I >> forgot to ask is probably the most important one. The lab computers >> get their IP's from dhcp on the external router so that they can surf >> the Internet for other classes that they have. These are all win98 >> clients, so after I put up the dns server would I just have to >> configure the lab computers to also look at the internal dns that I >> created with the fake domain name to be able to do the mx lookups? >> Would this cause any problems for the lab computers to get to the >> Internet and still be able to use the fake dns server setup for mail? >> >> Jon >> > > Not a problem at all. Just give named authority over the 'fake' domain > and give it some forwarders (in example named.conf file supplied with > FreeBSD). Then point all the m$ clients at the internal dns. Added > bonus... it'll cache the results and depending on how dns was > previously set up you could see some reduction in external lookups. > Thanks to all who have given me advice on this question. I hope most of you will be up at around 2:30am Alaska time as this is when I will probably run into my errors and questions. 8^) I have my O'reilly DNS and Bind book and Gregs FreeBSD Handbook plus I can use sample configs from my own dns server and any other doc I can find. If any one else has more suggestions I would appreciate any and all. I have to try and have this setup by Monday morning and will use every reference I can find. Thanks again, signing up to this list has been a godsend to me. Jon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message