Hi Kevin,
Thanks for all your help. I don't think Microsoft have implemented
OAUTH for IMAP on Exchange Online yet so we file this and get back to ye
when they do.
Best regards,
Gerry
On 12/02/2020 17:44, Kevin J. McCarthy wrote:
On Wed, Feb 12, 2020 at 10:55:38AM +0000, Gerry O'Brien wrote:
Perhaps, I have misunderstood the Microsoft statement regarding
support for IMAP with Exchange Online, which is our use case, not
on-premisis Exchange. The paragraph below clearly states that they
plan to drop certain types of access for Exchange Online.
Have I misunderstood their statement? Is there a form of IMAP that
uses something other than "Basic Authentication for Exchange Active
Sync (EAS)"?
Hi Gerry,
What they are changing is how you can log in to the IMAP server. So
IMAP will still be supported, but not using the old
"username/password" combination.
(Just a note that I'm not very knowledgeable about OAUTH. Others in
this thread can probably provide better help and more correct details.
That said my basic understanding follows:)
Instead, you will need to use something called OAUTH to log in.
Starting with version 1.11.0, Mutt includes support for a particular
framework called OAUTHBEARER. Rather than setting $imap_pass you
instead need to use a script which will obtain a temporary access
token. To do this, you set
set imap_authenticators="oauthbearer"
set imap_oauth_refresh_command="[SCRIPT]"
where you substitute [SCRIPT] for a script/program that will generate
and print out those tokens for Exchange Online.
Now, I don't know if there currently is such a script for Exchange
Online. Perhaps others in this thread can chime in, or your local
administrators may be able to help. You could point them to
<http://www.mutt.org/doc/manual/#oauth> to show how Mutt is using a
script for Gmail OAUTHBEARER and see if there is anything equivalent
that could be used for Exchange Online.
Hope that helps,
--
Gerry O'Brien
Systems Manager
School of Computer Science and Statistics
Trinity College Dublin
Dublin 2
Ireland
Tel: +353 1 896 1341