Skip to content

Commit

Permalink
disable tls session tickets to workaround deliverability issues with …
Browse files Browse the repository at this point in the history
…incoming email from microsoft

for issue #237
  • Loading branch information
mjl- committed Nov 6, 2024
1 parent 76f7b9e commit 22c8911
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions autotls/autotls.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}

Expand Down
3 changes: 2 additions & 1 deletion mox-/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22c8911

Please sign in to comment.