From befc07bb46e0507499dc0142a2449aba463f248c Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Wed, 15 Feb 2023 18:51:08 +0100 Subject: [PATCH] dovecot: switch to plain passwd Signed-off-by: Magic_RB --- containers/dovecot.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/containers/dovecot.nix b/containers/dovecot.nix index bdae9fa..28c3dd9 100644 --- a/containers/dovecot.nix +++ b/containers/dovecot.nix @@ -70,11 +70,12 @@ nglib.makeSystem { passdb."" = { driver = "passwd-file"; - args = "scheme=plain-md5 username_format=%u /secrets/passwd.dovecot"; + args = "scheme=plain username_format=%u /secrets/passwd.dovecot"; }; userdb."" = { driver = "passwd-file"; args = "username_format=%u /secrets/passwd.dovecot"; + default_fields = "uid=vmail gid=vmail home=/maildir/%u"; }; }; };