RE: Internal mail server

2003-01-06 Thread Rob O'Donnell
At 18:36 05/01/2003 -0600, Scott A. Moberly wrote:

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Sunday, January 05, 2003 3:55 PM
 To: [EMAIL PROTECTED]
 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.


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.




You may be better using a domain name in the form labs.local or something
similar - especially if the machines have external access: you don't really
want your test emails escaping to the real domain if you pick a .com and,
say, the DHCP server resets your users' DNS server settings.

(owning irrelevant.com, the number of emails I get that are plainly tests 
or people
not wishing to fill in real addresses in web forms is astonishing ... or 
maybe not.)

You don't need to stick to the .com/.net/.org model of tlds if you are setting
up a system that nobody else will access.  Your imagination is the limit!


Regards

Rob










--
APH Computers Ltd.
Tel: 0161-442 2603
Fax: 0161-443 1162


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: Internal mail server

2003-01-06 Thread Dennis Mathiasen
[EMAIL PROTECTED] Wrote:
 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.

I've done this many times for clients' internal email.  It's
a way to keep internal mail private when combined with a
firewall.  But you don't need a firewall to have it work.

Use a made up TLD (Top Level Domain).  It won't interfere
with anything in DNS that way. For example,
'hostname.inside' where the TLD is '.inside' or '.intra' for
a local intranet.

Just make sure that the DNS server has no slaves.  You might
set it up on the same box as the mail server for simplicity.
Include some forwarders in named.conf and it will serve
perfectly well for all DNS queries to outside too, with the
bonus that you'll get some saving in outside traffic due to
its' cache.

Set the clients DNS to that server. Create user accounts as
[EMAIL PROTECTED] on the server. That's about it.

You might want to make the point to your class that using
their .inside address as a reply-to will only work when sent
to other .inside email addresses.  If somebody outside
replies, obviously it will bounce.  Understanding this is
useful for people getting a grasp of how it all works at a
conceptual level.  Some people want only keystrokes and
rules. They get terrified when told more (you see blank
glassy-eyed stares), but this isn't difficult stuff.

To call the TLD you make up fake isn't quite right.  In a
network logic sense, it's just as real as any other. The
only difference is that only clients pointed at the DNS
server that contains it will see it.  Out on the larger
Internet there is a structure in place that eventually
points you to appropriate DNS servers for particular
domains.  In this case we're simply using our own little
structure and private domain as a supplement.  This point is
political too.

Dennis Mathiasen
[EMAIL PROTECTED]

Deerfield Hosting - High Performance Hosting
http://DeerfieldHosting.com?ref=sig




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Internal mail server

2003-01-05 Thread jonr
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.

Questions:
1. Can I setup a dns server to do this with the fake domain name and not
be visible to the outside?

2. Has somebody done this type of setup before and have any online
documentation that I could follow?

3. Can somebody tell me if this is even a possibility?

Thank You,

Jon



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Internal mail server

2003-01-05 Thread Derrick Ryalls


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of 
 [EMAIL PROTECTED]
 Sent: Sunday, January 05, 2003 3:55 PM
 To: [EMAIL PROTECTED]
 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
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message