Local domain for local use only (server connected to the internet).

Local domain for local use only (server connected to the internet).

Post by Z » Sun, 09 Jun 2002 05:33:07

Hi Everybody:

I've got a server connected to the internet, running sendmail
8.11.6-3mdk on Mandrake 8.1. The server has two NICS, a public
connected to the internet and one for the local are network. Classic.

I have a public domain configured, everything perfect. I have a local
domain, with a domain neither registered nor real, like domain.bogus.
This domain was configured as a "virtual", using (no flames pelase :-)
) linuxconf.

The only problem I have is that my local users are realying email out,
to any address on the internet. Even if, those messages are received

could answer) I do not want them to go out.

I tryied to solve the problem building my relaying rules first by
domain and the by IP.

I have this in /etc/sendmail.cf:

F{LocalNames} /etc/mail/name_allow
F{LocalIP} /etc/mail/ip_allow

and in /etc/mail/name_allow I have only the name of my real/public
domain; and in /etc/mail/ip_allow I have only my IPs. Nobody has tu
use my server as relay outside my company.

Where am I wrong ?

Thanks in advance for any help!


1. Can't connect to Windows 2000 server ILS server over Internet, local LAN OK

I've setup the ILS service on our Windows 2000/Exchange 2000 server and
workstations on the local LAN can connect to the ILS server just fine with
Netmeeting 3.01. However, workstations on other LAN segments, or those
connected offsite to the Internet cannot connect to the ILS server. The
Windows 2000/Exchange server can be connected to for other purposes (email,
WEB pages, etc.) from over the Internet or from other LAN segment just fine.
Is this a router problem or ??? (I can ping the server over the Internet

Any help much appreciated.



2. Option Fields - how to erase them

3. local user cannot send mail to local user or outside when using command line mail

4. DOOM and WF3D on RiscPC?

5. Using local alias only by local user

6. Ultimate Play the Game

7. local domain based messages not subject to AUTH when targeting other local addresses

8. -------The Cosmic Balance--------

9. Allow local domain only from local networks

10. Sendmail treating non-local domains as local

11. How can I check local user names and local domains

12. check_local: FORCE local domains only from local networks

13. Forwarding non-local user to non-local domain?