> Hello. Is it possible to set up email accounts that can send and receive
mail
> only from within our domain or LAN?
>
> Thanks in advance.
>
> Rey
>

If you just want email local to your LAN, one way (probably not the best) is
to setup your email daemons (pop3, smtp) under tcpwrappers and only accpect
connections from known ip's on the LAN.  Also if you have a firewall, setup
to reject all incoming connections (from outside the lan) to ports 25 and
110 on the email server (reject all connections to the email server if
possiable from the outside.)

For example in hosts.allow (assuming your running your pop3 and smtp daemon
from inetd) you could have something like this

pop:192.168.17.
smtp:192.168.17.

Assuming everything in 192.168.17.* is you LAN

in hosts.deny have something like

ALL:ALL

If all email accounts are under one domain running off one machine you
should be able to just send email to "username" and they will get it.

There is other ways, not saying this is the best way

Jack


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to