summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/templates
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-01-14 06:48:46 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:34 +0200
commitf8a46672a40b29f04a1a6417042759e2c25d4671 (patch)
treea2715f487c777feed49ad6a5077609b2cbc74069 /roles/IMAP/templates
parent8aff225c82bc8c6e099d5370a14bc289c438703a (diff)
Excplicitely make local services run on localhost.
Diffstat (limited to 'roles/IMAP/templates')
-rw-r--r--roles/IMAP/templates/etc/postfix/main.cf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/IMAP/templates/etc/postfix/main.cf.j2 b/roles/IMAP/templates/etc/postfix/main.cf.j2
index 2da85e9..df2e9fb 100644
--- a/roles/IMAP/templates/etc/postfix/main.cf.j2
+++ b/roles/IMAP/templates/etc/postfix/main.cf.j2
@@ -18,7 +18,7 @@ mydomain = {{ ansible_domain }}
append_dot_mydomain = no
# Turn off all TCP/IP listener ports except that necessary for the MDA.
-master_service_disable = !2526.inet inet
+master_service_disable = !127.0.0.1:2526.inet inet
queue_directory = /var/spool/postfix-{{ postfix_instance[inst].name }}
data_directory = /var/lib/postfix-{{ postfix_instance[inst].name }}