1.1.126. Command not allowed in this state

imap.policy 2

This message indicates that the requested command is not allowed in the current state of the IMAP proxy.