[openssl-users] [EXTERNAL] imap.gmail.com

Sands, Daniel dnsands at sandia.gov
Wed Jul 15 17:49:40 UTC 2015


IMAP is probably based on the Telnet protocol, so the server is
expecting CRLF instead of just CR.  Try running s_client with the -crlf
option.

On Wed, 2015-07-15 at 19:34 +0200, Henrie Cuijpers wrote:
> 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
> 
> NOTACOMMAND
> 
> 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
> Henrie
> _______________________________________________
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users



More information about the openssl-users mailing list