lefcha / imapfilter

IMAP mail filtering utility
MIT License
841 stars 92 forks source link

Exchange authentification since October 2022 #258

Open jyjourdain opened 1 year ago

jyjourdain commented 1 year ago

Hi,

I'm not able anymore to connect to Exchange…

I have that error in debug mode : 1011 NO LOGIN failed.

Is there a link with the fact that Microsoft removed basic authentification ? https://learn.microsoft.com/fr-fr/lifecycle/announcements/basic-auth-deprecation-exchange-online

Thanks!

douglas-larocca commented 1 year ago

Yes, you can re-enable temporarily following the steps here: https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-and-exchange-online-june-2021-update/bc-p/2599824#M31057

jyjourdain commented 1 year ago

Thanks @douglas-larocca !

Do you or anybody else know if imapfilter will support the new Microsoft login protocol?

Thanks in advance!

lefcha commented 4 months ago

Do you or anybody else know if imapfilter will support the new Microsoft login protocol?

Doesn't Microsoft Exchange still support XOAUTH2? Ref: https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#sasl-xoauth2

Imapfilter supports XOAUTH2, you just have to generate the string to supply to the IMAP server using external tools. I think this has been discussed in another Issue: https://github.com/lefcha/imapfilter/issues/252