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"; }; }; };