From 7d1622f3e5db18b40cab6cecfd3c2f1fab20d782 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 2 Dec 2013 20:18:28 +0100 Subject: Configure the IMAP server. (For now, only LMTP and IMAP processes, without replication.) --- roles/common/templates/etc/iptables/services.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/common/templates/etc/iptables/services.j2') 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 %} -- cgit v1.2.3