I'm trying to access gmail from RHEL 6 with below command and getting 
"unknown command" error, please let me know how to fix it...

openssl s_client -crlf -connect imap.gmail.com:993

* OK Gimap ready for requests from 192.81.68.110 ip4if329360vdb.60
login [email protected] mypass
login BAD Unknown command ip4if329360vdb.60
-----------

On Thursday, December 15, 2011 4:19:11 PM UTC-5, shadebug wrote:
>
> You think some sort of secure telnet session would do it better than
> straight openssl? How would that even work and would I need to install
> anything (telnet and openssl are things I can expect to find within
> metres of me wherever I am)?
>
> It's all very well and good that pop3 works but I'm not going to
> subject anybody to that.
>
> EdD
>
> On Dec 15, 2:56 pm, Marko Vukovic <[email protected]> wrote:
> > I assume you are using Telnet over stunnel or the like and attempting to
> > talk IMAP.
> >
> > Using OpenSSL I see the same symptom as you, can login but no response to
> > commands. Weird!
> > $ openssl s_client -connect imap.gmail.com:993
> > .
> > .
> > .
> > * OK Gimap ready for requests from xx.xx.xx.xx e4if4030674wiv.185
> > 01 login [email protected] **********
> > * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN
> > X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE
> > 01 OK [email protected] Marko Vukovic authenticated (Success)
> > 02 logout
> >
> > ^C
> > $
> >
> > POP3 works fine though...
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Thu, Dec 15, 2011 at 4:00 AM, shadebug <[email protected]> wrote:
> > > I spend my days setting people's email clients up and it occurred to
> > > me, on a whim, that it might be useful if I could telnet into their
> > > servers and check to see what's actually there when something's up
> > > (for instance, I recently set up a customer's account, not gmail, and
> > > of her hundreds of mailboxes the only one it retrieved was a single
> > > subsubsubfolder despite her webmail client showing me all sorts of
> > > wonderful stuff). I soon discovered that this is actually pretty easy
> > > and was quickly able to log into and peruse email using telnet for my
> > > personal domain and ssl for yahoo's secure servers. When I tried it on
> > > gmail, however, it was happy to login (that is to say authenticate,
> > > not just open the connection)  and then nothing else worked. Even the
> > > logout command did nothing.
> >
> > > So the question here is, why?
> >
> > > --
> > > You received this message because you are subscribed to the Google 
> Groups
> > > "Gmail-Users" group.
> > > To post to this group, send email to 
> > > [email protected]<javascript:>
> .
> > > To unsubscribe from this group, send email to
> > > [email protected] <javascript:>.
> > > For more options, visit this group at
> > >http://groups.google.com/group/gmail-users?hl=en.
> >
> > --
> > Marko
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Gmail-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/gmail-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to