Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2003 18:36:23 -0600 (CST)
From:      "Scott A. Moberly" <smoberly@karamazov.org>
To:        <jonr@destar.net>
Cc:        <ryallsd@datasphereweb.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Internal mail server
Message-ID:  <4878.10.0.0.2.1041813383.squirrel@mail.karamazov.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
>>> -----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4878.10.0.0.2.1041813383.squirrel>