nixos/dovecot: set group in config

The dovecot bump to 2.3.1 caused the dovecot service to fail to start
because it would try to chgrp sockets to dovecot whereas our default
dovecot group is called dovecot2.
This commit is contained in:
Franz Pletz 2018-03-28 19:16:41 +02:00
parent 96d4f13fc5
commit 6a15c8d6f7
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -30,6 +30,7 @@ let
''
default_internal_user = ${cfg.user}
default_internal_group = ${cfg.group}
${optionalString (cfg.mailUser != null) "mail_uid = ${cfg.mailUser}"}
${optionalString (cfg.mailGroup != null) "mail_gid = ${cfg.mailGroup}"}