18.104.22.168 Sending a POP3_AUTH_NTLM_Blob_Command Message
The expected state is inside_authentication.
This section defines the processing of POP3_AUTH_NTLM_Blob_Command messages. These NTLM messages sent by the client are encapsulated as follows to conform to the AUTH mechanism:
Base64 encode the NTLM message data. This is needed because NTLM messages contain data outside the ASCII character range, whereas POP3 only supports ASCII characters.
Send the base64 encoded string.
Suffix the <CR> and <LF> characters (ASCII values 0x0D and 0x0A), as required by POP3.
The ABNF definition of a client message is as follows:
De-encapsulation of these messages by the client adheres to the reverse logic, as follows:
Remove the <CR> and <LF> characters (ASCII values 0x0D and 0x0A).
Base64 decode the POP3 data to produce the original NTLM message data.