Better fix

This commit is contained in:
Spitap
2022-09-27 09:32:55 +02:00
parent 6d7dd9f578
commit 82c4b1033a
2 changed files with 15 additions and 5 deletions

View File

@@ -110,11 +110,6 @@ class Dovecot(base.Installer):
self.config.get("dovecot", "mailboxes_owner"), self.config.get("dovecot", "mailboxes_owner"),
'dovecot' 'dovecot'
) )
# Add modoboa to dovecot group for doveadm commands.
system.add_user_to_group(
self.config.get("modoboa", "user"),
'dovecot'
)
def restart_daemon(self): def restart_daemon(self):
"""Restart daemon process. """Restart daemon process.

View File

@@ -89,6 +89,21 @@ service postlogin {
} }
} }
service stats {
# To allow modoboa to access availible cipher list.
unix_listener stats-reader {
user = vmail
group = vmail
mode = 0660
}
unix_listener stats-writer {
user = vmail
group = vmail
mode = 0660
}
}
service auth { service auth {
# auth_socket_path points to this userdb socket by default. It's typically # auth_socket_path points to this userdb socket by default. It's typically
# used by dovecot-lda, doveadm, possibly imap process, etc. Users that have # used by dovecot-lda, doveadm, possibly imap process, etc. Users that have