change mail owner to dovecot:dovecot

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-20 17:14:13 +01:00
parent c224084d9c
commit 21abe98114
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5

View file

@ -11,8 +11,8 @@ in
enableLmtp = true;
enablePop3 = true;
enableQuota = true;
mailGroup = "vmail";
mailUser = "vmail";
mailGroup = "dovecot";
mailUser = "dovecot";
mailLocation = "maildir:/var/vmail/%h/%n";
mailPlugins = {
globally.enable = [
@ -108,7 +108,7 @@ in
enable = true;
listenAddress = listenIP;
};
sops.secrets."services/dovecot/rspamd_password" = { owner = "dovecot"; group = "dovecot"; };
sops.secrets."services/dovecot/rspamd_password" = { owner = "dovecot"; };
services.postgresql.ensureUsers = [{
name = "dovecot";
ensurePermissions = {