well I do not use iptables because I run FreeBSD
but I think it would be feasable with pf or ipfw

Thanks

Le 15/06/2011 11:31, mail...@securitylabs.it a écrit :
On 15/06/2011 11:19, Frank Bonnet wrote:
Hello

I would like to stop incoming/outgoing email to our site
without stopping internal emails exchange.

my configuration is quite classic


INTERNET
|
|
MX SERVER
|
|
INTERNAL MAILHUB
|

If you want to stop MX server from sending emails to Internal mailhub I
would block port 25 on mailhub with IPTABLES only from MX Server's IP.
MX will queue emails and resent them to mailhub one you reopen the port
in Mailhub.

Reply via email to