fix: wrong certificate for email

This commit is contained in:
Inex Code 2024-09-07 07:50:18 +03:00
parent 03e6962c83
commit 50f21362d4

View file

@ -75,7 +75,9 @@ lib.mkIf sp.modules.simple-nixos-mailserver.enable
"admin@${sp.domain}" = "${sp.username}@${sp.domain}";
};
certificateScheme = "acme";
certificateScheme = "manual";
certificateFile = "/var/lib/acme/root-${cfg.domain}/fullchain.pem";
keyFile = "/var/lib/acme/root-${cfg.domain}/key.pem";
# Enable IMAP and POP3
enableImap = true;