External email acces

Coetzee

New member
Joined
Feb 5, 2011
Messages
9
Does anybody know if there is a way that you can differentiate between our local lan.

Our wireless network works via ip range 10.x.x.x so our fiber.

We would like to force email from ip's not coming in vi the 10.0.0.0/8 range to be logging on using a usernam and password to send mail

Is this possible?

E
 
Sorry, but that's very difficult to understand you.

If you want to deny access from 10.0.0.0/8 (from your LAN) to any services, you can use a firewall (iptables default for Linux, ipfw for FreeBSD).
 
No I want to force people from any address but the 10.X ranges to authenticate by using a password and log in
 
You can try this in your /etc/exim.conf:

Code:
hostlist relay_hosts = net-lsearch;/etc/virtual/pophosts : 127.0.0.1 : 10.0.0.0/8

Post here if it works for you or not.
 
Last edited:
@zEitEr:

I think this does exactly the opposite; I think this allows rely without login from everyone except 10.0.0.0/8. Unless I'm misreading something I'd suggest leaving out the ! mark.

Jeff
 
Back
Top