From 36dbc82c75d9b5f7c1d68e2bd412453047f49628 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Fri, 24 Mar 2023 15:51:57 +0100 Subject: [PATCH] fix homedir mailboxes --- modules/mail.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/mail.nix b/modules/mail.nix index cf86fc6..f08aa36 100644 --- a/modules/mail.nix +++ b/modules/mail.nix @@ -78,13 +78,14 @@ in smtpd_sasl_auth_enable = true; smtpd_sasl_path = "/var/lib/postfix/auth"; smtpd_sasl_type = "dovecot"; - virtual_mailbox_base = "/var/mail"; + # virtual_mailbox_base = "/var/mail"; }; }; dovecot2 = { enable = true; enableImap = true; enableQuota = false; + mailLocation = "maildir:~/Maildir"; sslServerCert = "/var/lib/acme/${hostname}/fullchain.pem"; sslServerKey = "/var/lib/acme/${hostname}/key.pem"; mailboxes = {