Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
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. –  EEAA Jul 1 '10 at 14:37

2 Answers 2

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
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 https://www.testexchangeconnectivity.com/

share|improve this answer

Your Answer

 
discard

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.