From owner-freebsd-questions Sun Jan 5 16:37:14 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 CD70737B401 for ; Sun, 5 Jan 2003 16:37:11 -0800 (PST) Received: from mail.karamazov.org (h162-040-089-010.adsl.navix.net [162.40.89.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE5EE43ED1 for ; Sun, 5 Jan 2003 16:37:09 -0800 (PST) (envelope-from smoberly@karamazov.org) Received: from karamazov.org (mail.karamazov.org [10.0.0.11]) by mail.karamazov.org (8.12.6/8.12.6) with SMTP id h060aNQx077530; Sun, 5 Jan 2003 18:36:23 -0600 (CST) (envelope-from smoberly@karamazov.org) From: "Scott A. Moberly" Received: from 10.0.0.2 (SquirrelMail authenticated user smoberly) by mail.karamazov.org with HTTP; Sun, 5 Jan 2003 18:36:23 -0600 (CST) Message-ID: <4878.10.0.0.2.1041813383.squirrel@mail.karamazov.org> Date: Sun, 5 Jan 2003 18:36:23 -0600 (CST) Subject: RE: Internal mail server To: In-Reply-To: <2197.192.168.1.1.1041812452.squirrel@www.destar.net> 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> X-Priority: 3 Importance: Normal Cc: , 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message