MoonPoint Support Logo


Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals

Advanced Search
Sun Mon Tue Wed Thu Fri Sat

Fri, Oct 05, 2018 9:39 pm

Checking port 465 connectivity

I needed to check on whether a system was functioning as a mail server listening on the Simple Mail Transfer Protocol Secure (SMTPS) port, TCP port 465. One way to check is to attempt to establish a telnet connection to that port. E.g.:

$ telnet 465
Connected to
Escape character is '^]'.
^CConnection closed by foreign host.

If you see a "connected to" message that indicates the system is listening on that port and you can terminate the connection by hitting Ctrl-C a couple of times. But you can also use an OpenSSL command as shown below to test SMTPS connectivity on TCP port 465:

$ openssl s_client -connect -quiet
depth=0 /OU=Zimbra Collaboration Server/
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 /OU=Zimbra Collaboration Server/
verify error:num=27:certificate not trusted
verify return:1
depth=0 /OU=Zimbra Collaboration Server/
verify error:num=21:unable to verify the first certificate
verify return:1
220 ESMTP Postfix
221 2.0.0 Bye

If you leave the -quiet off the end of the command, you can see additional information about the certificate on the email server.

Related articles:

  1. Using the openssl command to troubleshoot POP3S

[/network/email] permanent link

Once You Know, You Newegg AliExpress by

Shop Amazon Local - Subscribe to Deals in Your Neighborhood

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo