Better fix
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user