[openssl-users] imap.gmail.com

Henrie Cuijpers henrie.cuijpers at gmail.com
Wed Jul 15 17:34:55 UTC 2015

Hi all,

i try to connect to the gmail imap service, but after the connection has 
been set up the server responds to nothing. Is there a way to 
investigate this further?

I use this command line:

openssl s_client -connect imap.gmail.com:993

After connection you should be able to type a command and the server 
should response with an error or an OK message. On every valid command 
the server stays sitting there doing nothing but keeping the line up. 
You only receive a reply when you type a wrong command to start with. 
After that there is nothing but silence.....

Example: after connecting type:

A1 LOGIN johndoe at gmail.com JohnsPassword

This will result in silence....

Disconnect with Ctrl-C en reconnect with the same line. Then type


and you will receive:

* BAD invalid tag SomeRandomNumber

after this you can enter what you want the answer will be: silence...

Please give me a hint how to investigate this further....

Kind regards

More information about the openssl-users mailing list