dovecot: split passdb and userdb
Split passdb and userdb.
Moved id
, gid
and home
fields to devault.
Removed unused shell
parameter in passwd file.
This change is required to make it easier to change the password for the user with this custom patch:
diff --git a/mail-server/dovecot.nix b/mail-server/dovecot.nix
--- a/mail-server/dovecot.nix
+++ b/mail-server/dovecot.nix
@@ -221,7 +221,7 @@ in
passdb {
driver = passwd-file
- args = ${passdbFile}
+ args = /var/lib/dovecot/passdb
}
userdb {