summaryrefslogtreecommitdiffstats
path: root/roles/common/templates/etc/iptables
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-12-02 20:18:28 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:08 +0200
commit7d1622f3e5db18b40cab6cecfd3c2f1fab20d782 (patch)
treec5753fb80444467fe2fcb205e4d03595ff1412de /roles/common/templates/etc/iptables
parentf2dc55cd77aae4e6e9c4258a64547a16a90ea579 (diff)
Configure the IMAP server.
(For now, only LMTP and IMAP processes, without replication.)
Diffstat (limited to 'roles/common/templates/etc/iptables')
-rw-r--r--roles/common/templates/etc/iptables/services.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/common/templates/etc/iptables/services.j2 b/roles/common/templates/etc/iptables/services.j2
index 8a9409d..cd7a8bd 100644
--- a/roles/common/templates/etc/iptables/services.j2
+++ b/roles/common/templates/etc/iptables/services.j2
@@ -15,3 +15,6 @@ in tcp {{ ansible_ssh_port|default('22') }} # SSH
{% if 'MX' in group_names %}
in tcp 25 # SMTP
{% endif %}
+{% if 'IMAP' in group_names %}
+in tcp 993 # IMAPS
+{% endif %}