fix: disable mta-sts
This commit is contained in:
parent
27e1a7cc3f
commit
35b44225ab
|
@ -152,7 +152,6 @@ in
|
||||||
[
|
[
|
||||||
"autoconfig.${domain}"
|
"autoconfig.${domain}"
|
||||||
"autodiscover.${domain}"
|
"autodiscover.${domain}"
|
||||||
"mta-sts.${domain}"
|
|
||||||
]
|
]
|
||||||
(_: {
|
(_: {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
@ -638,6 +637,9 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# needs certificate for all domain
|
||||||
|
# Dane is better anyway
|
||||||
|
session.mta-sts.mode = "none";
|
||||||
session.ehlo = {
|
session.ehlo = {
|
||||||
require = true;
|
require = true;
|
||||||
reject-non-fqdn = [
|
reject-non-fqdn = [
|
||||||
|
|
|
@ -58,10 +58,6 @@
|
||||||
domain = config.secrets.secrets.global.domains.mail_public;
|
domain = config.secrets.secrets.global.domains.mail_public;
|
||||||
extraDomainNames = [ "*.${config.secrets.secrets.global.domains.mail_public}" ];
|
extraDomainNames = [ "*.${config.secrets.secrets.global.domains.mail_public}" ];
|
||||||
};
|
};
|
||||||
"${config.secrets.secrets.global.domains.mail_private}" = {
|
|
||||||
domain = config.secrets.secrets.global.domains.mail_private;
|
|
||||||
extraDomainNames = [ "*.${config.secrets.secrets.global.domains.mail_private}" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
environment.persistence."/state".directories = [
|
environment.persistence."/state".directories = [
|
||||||
{
|
{
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue