mirror of
https://github.com/mjl-/mox.git
synced 2024-12-25 16:03:48 +03:00
disable tls session tickets to workaround deliverability issues with incoming email from microsoft
for issue #237
This commit is contained in:
parent
76f7b9ebf6
commit
22c8911bf3
2 changed files with 3 additions and 1 deletions
|
@ -229,6 +229,7 @@ func (m *Manager) TLSConfig(fallbackHostname dns.Domain, fallbackNoSNI, fallback
|
|||
GetCertificate: func(hello *tls.ClientHelloInfo) (*tls.Certificate, error) {
|
||||
return m.loggingGetCertificate(hello, fallbackHostname, fallbackNoSNI, fallbackUnknownSNI)
|
||||
},
|
||||
SessionTicketsDisabled: true,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1920,7 +1920,8 @@ func loadTLSKeyCerts(configFile, kind string, ctls *config.TLS) error {
|
|||
certs = append(certs, cert)
|
||||
}
|
||||
ctls.Config = &tls.Config{
|
||||
Certificates: certs,
|
||||
Certificates: certs,
|
||||
SessionTicketsDisabled: true,
|
||||
}
|
||||
ctls.ConfigFallback = ctls.Config
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue