Skip to content

Commit f3a6f32

Browse files
committed
config/tls: Set min TLS version to 1.0
Better to have TLS 1.0 than no encryption at all. Default Go client setting of TLS 1.2 is too restrictive for mail infrastructure with lots of outdated servers.
1 parent 1d6cd8c commit f3a6f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: framework/config/tls/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func readTLSBlock(globals map[string]interface{}, blockNode config.Node) (*TLSCo
9595
}, &loader)
9696

9797
childM.Custom("protocols", false, false, func() (interface{}, error) {
98-
return [2]uint16{0, 0}, nil
98+
return [2]uint16{tls.VersionTLS10, 0}, nil
9999
}, TLSVersionsDirective, &tlsVersions)
100100

101101
childM.Custom("ciphers", false, false, func() (interface{}, error) {

0 commit comments

Comments
 (0)