Dear all, I am unfortunate enough to have to use an Office365 e-mail account.
I am told by its sysadmin that IMAP support is enabled. I am using mutt version 2.2.9-1+b1 (Debian). When trying to authenticate, the only mechanism mutt and the server have in common is PLAIN, which is not ideal but tolerable since the transaction happens over an encrypted layer. However the PLAIN method fails and I can't understand why. Here is the relevant bit of ~/.muttdebug0: 4< * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+ Handling CAPABILITY 4< a0000 OK CAPABILITY completed. IMAP queue drained imap_authenticate: Using any available method. imap_auth_gsasl: using mech PLAIN Authentification (PLAIN)... 4> a0001 AUTHENTICATE [...] 4< a0001 NO AUTHENTICATE failed. IMAP queue drained imap_auth_gsasl: PLAIN failed I don't know how to proceed from here. I really would like PLAIN to work because the only other mechanism supported is XAUTH2, which feels like a hell. Am I correct in trusting the sysadmin that IMAP support is indeed enabled for this account? If the problem would be an incorrect password, would that be written explicitly in the debug output, or would I get this error message and no more details? Many thanks for any help and please, keep mutt going because it's awesome. Sébastien.