220.127.116.11 Receiving an IMAP4 NTLM Extension Message
The IMAP4NTLM extension is driven by a series of message exchanges between an IMAP4 server and an IMAP4 client. The rules governing the sequencing of commands and the internal states of the client and server are defined by a combination of the rules defined in [RFC1731] and [MS-NLMP]. Section 18.104.22.168 and section 22.214.171.124 define how those rules govern IMAP4 authentication.
If the client receives a message that is not expected for its current state, the client MUST cancel the authentication process and transition to completed_authentication state.