Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Anyone know how open a SMTP conversation with a mail server (over the SSL port, and not 25/110) and view info for the SSL cert is it, using SMTP commands?

share|improve this question
Would be helpfull to know which platform you are using for the SMTP server? – JamesK Jul 1 '10 at 14:34
Platform doesn't matter really in this case. He's asking how to connect remotely to a server and view info on its SSL certs. – EEAA Jul 1 '10 at 14:37
up vote 5 down vote accepted

You're not going to be able to get any useful information only using SMTP commands. You'll need to use something that understands SSL, like OpenSSL's s_client. Something like this should work:

$ openssl s_client -starttls smtp -crlf -connect
share|improve this answer
+1 thank you sir! – Malnizzle Jul 1 '10 at 14:42
You're welcome. – EEAA Jul 1 '10 at 14:46

If it is an Exchange server, you can also try

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.