[Users] No longer able to connect to outlook.office365.com - IMAP

William L. Thomson Jr. wlt-ml at o-sinc.com
Wed Jul 3 22:49:35 CEST 2019


I am not sure if this is even an issue with claws-mail, or something
else that was updated causing issues for claws-mail. I am running
claws-mail 3.17.3 on Gentoo Linux.

I used to be able to connect via IMAP protocol to outlook.office365.com
without any issues. Around the end of April 2019, I was no longer able
to connect, and started getting errors. The errors are not very
descriptive, even in the log. Not sure if there is some verbosity level
I can increase for more output in log.

I am able to connect via openssl, but that is just a connection, not
any authentication. At first, I thought the issue might be due to an
newer openssl and incompatibilities. I cannot confirm or deny that as
the problem. But could be something else that was updated.

I am not sure if Microsoft change encryption types from GSSAPI to NTLM
per:
https://www.claws-mail.org/faq/index.php/Connecting_to_MS_Exchange

I have verified my connection settings, which used to work
https://support.office.com/en-us/article/POP-IMAP-and-SMTP-settings-for-Outlook-com-d088b986-291d-42b8-9564-9c414e2aa040

Really not sure why it stopped working. I did not update claws-mail at
that time, but I have updated other system packages and libraries.

Below is log output, the first from GSSAPI, and the 2nd using
automatic. Automatic used to work, I did not have it set to GSSAPI when
it was able to connect.

If anyone has any ideas or information about why I am no
longer able to connect via IMAP to outlook.office365.com, that would be
greatly appreciated!


Log 1 GSSAPI
-------------------------------------------------------------------------------------------------------------------
[16:28:39] IMAP< 37 OK Status completed (0.003 + 0.000 + 0.002 secs). 
* Account 'outlook': Connecting to IMAP server:
outlook.office365.com:993... [16:32:40] IMAP< * OK The Microsoft
Exchange IMAP4 service is ready.
[QgBOADQAUABSADEAMABDAEEAMAAwADAAOAAuAG4AYQBtAHAAcgBkADEAMAAuAHAAcgBvAGQALgBvAHUAdABsAG8AbwBrAC4AYwBvAG0A]
[16:32:40] IMAP> 42 NOOP [16:32:40] IMAP< 42 OK NOOP completed (0.005 +
0.000 + 0.004 secs). [16:32:40] IMAP> 38 NOOP [16:32:40] IMAP< 38 OK
NOOP completed (0.004 + 0.000 + 0.003 secs). 
* IMAP connection is un-authenticated
[16:32:40] IMAP> 1 CAPABILITY 
[16:32:40] IMAP< * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2
SASL-IR UIDPLUS MOVE ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
[16:32:40] IMAP< 1 OK CAPABILITY completed. [16:32:40] IMAP> Logging
**************** to outlook.office365.com using GSSAPI [16:32:40] IMAP<
CAPABILITY completed. ** IMAP error on outlook.office365.com: LOGIN
error [16:32:40] IMAP< Error logging in to outlook.office365.com
[16:33:41] IMAP> 43 NOOP 
[16:33:41] IMAP< 43 OK NOOP completed (0.004 + 0.000 + 0.003 secs). 
[16:33:41] IMAP> 39 NOOP 
[16:33:41] IMAP< 39 OK NOOP completed (0.004 + 0.000 + 0.003 secs). 
[16:33:50] IMAP> Logging **************** to outlook.office365.com
using GSSAPI [16:33:50] IMAP< CAPABILITY completed.
** IMAP error on outlook.office365.com: LOGIN error
[16:33:50] IMAP< Error logging in to outlook.office365.com
[16:33:56] IMAP> 2 LOGOUT 
[16:33:56] IMAP< * BYE Connection is closed. 13 
-------------------------------------------------------------------------------------------------------------------


Log 2 Automatic
-------------------------------------------------------------------------------------------------------------------
* Account 'outlook': Connecting to IMAP server:
outlook.office365.com:993... [16:41:41] IMAP< * OK The Microsoft
Exchange IMAP4 service is ready.
[QgBOADYAUABSADEANwBDAEEAMAAwADIANAAuAG4AYQBtAHAAcgBkADEANwAuAHAAcgBvAGQALgBvAHUAdABsAG8AbwBrAC4AYwBvAG0A]
[16:41:41] IMAP> 59 NOOP [16:41:41] IMAP< 59 OK NOOP completed (0.004 +
0.000 + 0.003 secs). [16:41:41] IMAP> 53 NOOP [16:41:41] IMAP< 53 OK
NOOP completed (0.005 + 0.000 + 0.004 secs). 
* IMAP connection is un-authenticated
[16:41:42] IMAP> 1 CAPABILITY 
[16:41:42] IMAP< * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2
SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+ [16:41:42]
IMAP< 1 OK CAPABILITY completed. [16:41:42] IMAP> Logging
****************  to outlook.office365.com using PLAIN [16:41:42] IMAP<
CAPABILITY completed. ** IMAP error on outlook.office365.com: LOGIN
error [16:41:42] IMAP< Error logging in to outlook.office365.com
[16:41:42] IMAP> Logging ****************  to outlook.office365.com
using plaintext [16:41:42] IMAP< LOGIN failed.
** IMAP error on outlook.office365.com: LOGIN error
[16:41:42] IMAP< Error logging in to outlook.office365.com
[16:42:00] IMAP> Logging ****************  to outlook.office365.com
using PLAIN [16:42:00] IMAP< LOGIN failed.
** IMAP error on outlook.office365.com: LOGIN error
[16:42:00] IMAP< Error logging in to outlook.office365.com
[16:42:00] IMAP> Logging ****************  to outlook.office365.com
using plaintext [16:42:01] IMAP< LOGIN failed.
** IMAP error on outlook.office365.com: LOGIN error
[16:42:01] IMAP< Error logging in to outlook.office365.com
[16:42:03] IMAP> 4 LOGOUT 
[16:42:03] IMAP< * BYE Microsoft Exchange Server IMAP4 server signing
off. [16:42:03] IMAP< 4 OK LOGOUT completed. 
-------------------------------------------------------------------------------------------------------------------


-- 
William L. Thomson Jr.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20190703/86f58035/attachment.sig>


More information about the Users mailing list