i am trying to login to microsoft exchange online using openssl
openssl s_client -connect pop.mail.apac.microsoftonline.com:995
however when i pass the USER command it fails
+OK The Microsoft Exchange POP3 service is ready.
user [email protected]
-ERR Connection is closed. 12
read:errno=0
any ideas on how to test this?
more research
i tried
nc -v pop.mail.microsoftonline.com 995
Connection to pop.mail.microsoftonline.com 995 port [tcp/pop3s] succeeded!
user [email protected]
but no results...
fixed
openssl s_client -crlf -connect pop.mail.apac.microsoftonline.com:995
You have to actually follow the POP3 protocol:
Try passing
-crlf
tos_client
.