summaryrefslogtreecommitdiffstats
path: root/roles/common/templates/etc/iptables/services.j2
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-05-14 22:00:36 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:53:27 +0200
commit166804e99e33c8ec5760e88ba1f52d4fc301334c (patch)
tree706ca108db27e2e6f1c696bdd3f72e6d1f2ce5fa /roles/common/templates/etc/iptables/services.j2
parent334b7604727810c02ecb8942f3753dee15466691 (diff)
Configure the list manager (Sympa).
Diffstat (limited to 'roles/common/templates/etc/iptables/services.j2')
-rw-r--r--roles/common/templates/etc/iptables/services.j25
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/common/templates/etc/iptables/services.j2 b/roles/common/templates/etc/iptables/services.j2
index 7709066..c628d50 100644
--- a/roles/common/templates/etc/iptables/services.j2
+++ b/roles/common/templates/etc/iptables/services.j2
@@ -45,10 +45,13 @@ in tcp 4190 # ManageSieve
{% if 'MDA' in group_names and 'MX' not in group_names %}
in tcp {{ postfix_instance.IMAP.port }}
{% endif %}
+{% if 'lists' in group_names and 'MX' not in group_names %}
+in tcp {{ postfix_instance.lists.port }}
+{% endif %}
{% if 'MSA' in group_names %}
in tcp 587 # SMTP-AUTH
{% endif %}
-{% if 'webmail' in group_names %}
+{% if 'webmail' in group_names or 'lists' in group_names %}
in tcp 80,443 # HTTP/HTTPS
{% if 'IMAP' not in group_names %}
out tcp 993 # IMAP