fix maildir creation

This commit is contained in:
Nek0 - 2022-12-19 03:17:26 +01:00
parent 7f736e5fc5
commit ae164b7947
1 changed files with 4 additions and 1 deletions

View File

@ -128,7 +128,7 @@ in
enablePAM = false;
enableQuota = true;
createMailUser = true;
mailLocation = "maildir:~/maildir";
mailLocation = "maildir:/var/mail/%u";
mailboxes = {
Spam = {
auto = "create";
@ -196,6 +196,9 @@ in
protocol imap {
mail_max_userip_connections = 100
}
mail_uid = ${config.users.users.dovecot2.name}
mail_gid = ${config.users.users.dovecot2.group}
first_valid_uid = ${toString config.users.users.dovecot2.uid}
'';
};
nginx = {