On 10/30/06, Jlew <jason@???> wrote:
>
> I am looking for an easy way to only allow incoming mail from a specific
> range of IP addresses. We have a service that filters all messages and
> passes them on to the end mail server (Exim). Any mail coming from a source
> other than the filtering server(s) is unwanted.
Wouldn't it be easier to just set up a firewall to prevent this?
Something like (untested):
iptables -A INPUT -p tcp --dport 25 -s \! <valid ip range> -j REJECT
--
Cole Tuininga
http://www.tuininga.org/