Hi Kevin, many thanks for your repsonse! Kevin J. McCarthy (2023/03/17 19:31 -0700): > On Fri, Mar 17, 2023 at 11:53:05PM +0100, Sébastien Hinderer wrote: > > I am trying to read emails on an exchange server through IMAP. > > > > The server only accepts the PLAIN and XOAUTH2 authentication methods, > > whereas mutt offers SASL, GSSAPI, CRAM-MD5 et LOGIN. > > When compiled with SASL support (either GNU or Cyrus), Mutt can use the > PLAIN authentication method provided by the library. > > Try setting imap_authenticators='plain' and see if that works.
I updated mutt and it seems that the PLAIN method is now available but, for a reason that is not logged when mutt is run with -d2, it is tried but fails: imap_authenticate: Using any available method. imap_auth_gsasl: using mech PLAIN Authentification (PLAIN)... 4> a0001 AUTHENTICATE PLAIN [long-string] 4< a0001 NO AUTHENTICATE failed. imap_auth_gsasl: PLAIN failed I did try fetchmail but it segfaulted. I don't know how I should proceed from here. Any suggestion welcome. Sébastien.