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?

link|improve this question

Would be helpfull to know which platform you are using for the SMTP server? – JamesK Jul 1 '10 at 14:34
1  
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. – ErikA Jul 1 '10 at 14:37
feedback

2 Answers

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 1.1.1.1:25
link|improve this answer
+1 thank you sir! – Malnizzle Jul 1 '10 at 14:42
You're welcome. – ErikA Jul 1 '10 at 14:46
feedback

If it is an Exchange server, you can also try https://www.testexchangeconnectivity.com/

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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