From 7d3a9a5340d5faae1347bf010c193c36e1771fa1 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 15 Jun 2017 11:20:52 +0200 Subject: Webmail: don't allow outgoing TCP/993 connections. We're going through IPsec to communicate with the IMAP server. --- roles/common/templates/etc/iptables/services.j2 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/roles/common/templates/etc/iptables/services.j2 b/roles/common/templates/etc/iptables/services.j2 index 2def27f..d199c9e 100644 --- a/roles/common/templates/etc/iptables/services.j2 +++ b/roles/common/templates/etc/iptables/services.j2 @@ -40,10 +40,6 @@ in tcp 587 # SMTP-AUTH {% if 'webmail' in group_names or 'lists' in group_names or 'wiki' in group_names %} in tcp 80,443 # HTTP/HTTPS {% endif %} -{% if 'webmail' in group_names and 'IMAP' not in group_names %} -out tcp 993 # IMAP -out tcp 4190 # MANAGESIEVE -{% endif %} {% if 'LDAP-provider' in group_names %} out tcp 11371 # HKP out tcp 43 # WHOIS -- cgit v1.2.3