From c52344acb365be570a638f9f256cc33730ffa616 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 10 Jul 2016 04:58:41 +0200 Subject: Postfix: avoid hardcoding the instance names. --- roles/IMAP/templates/etc/dovecot/conf.d/10-master.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/IMAP/templates/etc') diff --git a/roles/IMAP/templates/etc/dovecot/conf.d/10-master.conf.j2 b/roles/IMAP/templates/etc/dovecot/conf.d/10-master.conf.j2 index aea7f87..b7aead3 100644 --- a/roles/IMAP/templates/etc/dovecot/conf.d/10-master.conf.j2 +++ b/roles/IMAP/templates/etc/dovecot/conf.d/10-master.conf.j2 @@ -56,7 +56,7 @@ service pop3-login { service lmtp { user = vmail - unix_listener /var/spool/postfix-mda/private/dovecot-lmtpd { + unix_listener /var/spool/postfix-{{ postfix_instance.IMAP.name }}/private/dovecot-lmtpd { group = postfix user = postfix mode = 0600 @@ -108,7 +108,7 @@ service auth { } # Postfix smtp-auth - unix_listener /var/spool/postfix-msa/private/dovecot-auth { + unix_listener /var/spool/postfix-{{ postfix_instance.MSA.name }}/private/dovecot-auth { group = postfix user = postfix mode = 0600 -- cgit v1.2.3