TLS distribution breaks with hostname_check_failed ... received dNSName

This is probably related to SNI. Check out this post: hostname_check fails in smtp tls handshake