Skip to content

Iptables rule to block access to our IMAP server

When migrating to Zimbra, I don’t want people to fiddle with their mail when I’m doing it, so I disable IMAP access from anything but the virtual machine instance in which Zimbra is running. I do that with this:

iptables -A INPUT ! -s -p tcp --dport 143 -j REJECT

No Comments ( Add comment / trackback )