[Imap-protocol] example of authentication PLAIN with imap?

Bill Janssen janssen at parc.com
Fri Jan 25 21:18:48 PST 2008



> Nope. You didn't check the syntax for a command continuation request

> response. On page 84 of RFC 3501 we find:

>

> continue-req = "+" SP (resp-text / base64) CRLF

>

> I.e., the space after the plus-sign is mandatory, even when the base64 is

> empty. So make the first server line above:

> S: + \r\n


Ah, thanks!


> As a side-note, the server should consider including in the tagged OK

> response to AUTHENTICATE a CAPABILITY response code that lists the

> capaibilities that are useful after authentication. e.g.,

>

> S: 4 OK [CAPABILITY IMAP4rev1 IDLE MULTIAPPEND X-MOTTO] Authentication succeeded\r\n

>

> (c.f. section 6.2.2p9 for details and when not bother)


OK, will do.

Bill


More information about the Imap-protocol mailing list