remove redundant mailserver config

This commit is contained in:
chayleaf 2023-05-26 01:42:55 +07:00
parent 1f0800986e
commit 1d3876bdca

View file

@ -28,8 +28,7 @@ in {
fqdn = "mail.${cfg.domainName}"; fqdn = "mail.${cfg.domainName}";
domains = [ cfg.domainName ]; domains = [ cfg.domainName ];
certificateScheme = "acme"; certificateScheme = "acme";
certificateFile = config.security.acme.certs."mail.${cfg.domainName}".directory + "/fullchain.pem"; # actually this just means don't run kresd, unbound is used as the local dns resolver instead
keyFile = config.security.acme.certs."mail.${cfg.domainName}".directory + "/key.pem";
localDnsResolver = false; localDnsResolver = false;
recipientDelimiter = "-"; recipientDelimiter = "-";
lmtpSaveToDetailMailbox = "no"; lmtpSaveToDetailMailbox = "no";