[Imap-protocol] example of authentication PLAIN with imap?
Bill Janssen
janssen at parc.com
Fri Jan 25 23:10:50 PST 2008
> But what I see (from Thunderbird) is
>
> C: 4 authenticate plain\r\n
> S: +\r\n
> C: AGphbnNzZW4AZm9v
>
> so my server never knows when to stop waiting for the client to send
> more data...
Ah! Got it. T-bird was sending the right thing; my server framework was
eating the CRLF. Now the handshake looks like
C: 4 authenticate plain\r\n
S: + \r\n
C: AGphbnNzZW4AZm9v\r\n
S: 4 OK [CAPABILITY IMAP4rev1 NAMESPACE UIDPLUS AUTH=PLAIN] AUTHENTICATE completed\r\n
which I believe is correct.
Bill
More information about the Imap-protocol
mailing list