On 2023-04-13 16:58, Sébastien Hinderer wrote:
Ian Collier (2023/04/13 17:11 +0100):
On Thu, Apr 13, 2023 at 01:59:56PM +0200, Sébastien Hinderer wrote:
> I am unfortunate enough to have to use an Office365 e-mail account.

> 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.

The server is lying to you that it supports AUTH=PLAIN. Microsoft has disabled basic authentication across most of their services and you must use XOAUTH2.

See e.g.:
https://www.bleepingcomputer.com/news/microsoft/microsoft-will-turn-off-exchange-online-basic-auth-in-january/

Many thanks. That's very unfortunate.

Is there a reliable way to use XOAUTH2 support in mutt, then, please?

I've managed to get this to work with gmail:
https://gitlab.com/muttmua/mutt/-/blob/master/contrib/mutt_oauth2.py.README#L85

Never tried with office365, though...

Reply via email to