From 58314f59c22d0874dd9b547b30962a2c2bc6c624 Mon Sep 17 00:00:00 2001 From: Geno Date: Tue, 30 Mar 2021 10:57:20 +0200 Subject: [PATCH] fix stats permission, to run doveadm by postfixadmin --- templates/dovecot/conf.d/91-stats.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/templates/dovecot/conf.d/91-stats.conf b/templates/dovecot/conf.d/91-stats.conf index a3bfa62..829a38a 100644 --- a/templates/dovecot/conf.d/91-stats.conf +++ b/templates/dovecot/conf.d/91-stats.conf @@ -14,3 +14,13 @@ service old-stats { port = 24242 } } +service stats { + unix_listener stats-reader { + group = vmail + mode = 0666 + } + unix_listener stats-writer { + group = vmail + mode = 0666 + } +}