summaryrefslogtreecommitdiffstats
path: root/roles/webmail
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/webmail
parent8aff225c82bc8c6e099d5370a14bc289c438703a (diff)
Excplicitely make local services run on localhost.
Diffstat (limited to 'roles/webmail')
-rw-r--r--roles/webmail/templates/etc/postfix/main.cf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/webmail/templates/etc/postfix/main.cf.j2 b/roles/webmail/templates/etc/postfix/main.cf.j2
index e9a2e7d..cb57b23 100644
--- a/roles/webmail/templates/etc/postfix/main.cf.j2
+++ b/roles/webmail/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 webmail.
-master_service_disable = !2580.inet inet
+master_service_disable = !127.0.0.1:2580.inet inet
queue_directory = /var/spool/postfix-{{ postfix_instance[inst].name }}
data_directory = /var/lib/postfix-{{ postfix_instance[inst].name }}