On 2023-04-13 13:50:42, Sébastien Hinderer wrote:
> 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.

I don't think Exchange online support anything other than OAuth2.0 now
(https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online).

I use mutt at office with O365. I used plain auth in the past but had
to switch to OAuth2.0 this year. I used this blog post to configure
mine to use OAuth2.0:
(https://www.vanormondt.net/~peter/blog/2021-03-16-mutt-office365-mfa.html).

However, I continued to run into problems regulary because of quirks of
Exchange server. Now I use mutt with O365 with davmail. It works
reliably but feels a lot slower.

-- 
Regards,
Sadeep
PGP: 103BF9E3E750BF7E

Attachment: signature.asc
Description: PGP signature

Reply via email to