Openssl s_client -connect myhostname.com:465 -tls1_2

Sorry I thought your talking about a client connection, port 25 is used to receive, I wouldn’t think they block that.