summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-06-03 20:45:05 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:54:19 +0200
commitab03c7c75d91667dbc30f9ce1f66fe343fb9f93b (patch)
tree27aeba65411febdaf4bbfa36560bf9005164d8d2
parente1b50dad0f60422ff0efb1a2538c0a13adf9e41e (diff)
wibble
-rw-r--r--roles/common/templates/etc/iptables/services.j28
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/common/templates/etc/iptables/services.j2 b/roles/common/templates/etc/iptables/services.j2
index c729e1a..187e588 100644
--- a/roles/common/templates/etc/iptables/services.j2
+++ b/roles/common/templates/etc/iptables/services.j2
@@ -41,7 +41,7 @@ out tcp {{ postfix_instance.out.port }}
{% endif %}
{% if 'IMAP' in group_names %}
in tcp 993 # IMAPS
-in tcp 4190 # ManageSieve
+in tcp 4190 # MANAGESIEVE
{% endif %}
{% if 'MDA' in group_names and 'MX' not in group_names %}
in tcp {{ postfix_instance.IMAP.port }}
@@ -53,11 +53,11 @@ in tcp {{ postfix_instance.lists.port }}
in tcp 587 # SMTP-AUTH
{% endif %}
{% if 'webmail' in group_names or 'lists' in group_names or 'wiki' in group_names %}
-in tcp 80,443 # HTTP/HTTPS
+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
+out tcp 993 # IMAP
+out tcp 4190 # MANAGESIEVE
{% endif %}
{% if 'LDAP-provider' in group_names %}