summaryrefslogtreecommitdiffstats
path: root/roles/common
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2017-06-15 11:20:52 +0200
committerGuilhem Moulin <guilhem@fripost.org>2017-06-15 11:20:55 +0200
commit7d3a9a5340d5faae1347bf010c193c36e1771fa1 (patch)
tree90ecc76a2752ef514eeb0f093deca29331461108 /roles/common
parent402799906a53aeb3c6feff9b3e98d750acd559e0 (diff)
Webmail: don't allow outgoing TCP/993 connections.
We're going through IPsec to communicate with the IMAP server.
Diffstat (limited to 'roles/common')
-rw-r--r--roles/common/templates/etc/iptables/services.j24
1 files changed, 0 insertions, 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