From 0d9de57a78fbe066bd8407561b86f0b0a61ffa76 Mon Sep 17 00:00:00 2001 From: Solal Nathan Date: Sat, 30 Jan 2021 01:10:31 +0100 Subject: [PATCH] Add LMTP for Postfix-Dovecot communication --- roles/dovecot/templates/conf.d/10-master.conf.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/dovecot/templates/conf.d/10-master.conf.j2 b/roles/dovecot/templates/conf.d/10-master.conf.j2 index 4d91b7a..b6a7d10 100644 --- a/roles/dovecot/templates/conf.d/10-master.conf.j2 +++ b/roles/dovecot/templates/conf.d/10-master.conf.j2 @@ -5,6 +5,7 @@ # IMAP/POP/STMP auth configuration +# Authentification service auth { # Postfix smtp-auth @@ -14,3 +15,12 @@ service auth { group = postfix } } + +# Local LMTP +service lmtp { + unix listener /var/spool/postfix/private/dovecot-lmtp { + group = postfix + mode = 0600 + user = postfix + } +}