Hello Rick,
Yes I do. Please help to solve the problem that is caused by the cloud.
I have stress tested the test accounts, and loaded them with around 200-300 test emails, and 7-10 IMAP folders.
In this situation the problem did occurred in every account. That means that your test account also produces this problem.
I have checked the Thunderbird logs, and found everything OK from client side.
I have tested the IMAP interface without the client, based on the RFC 3501 standard.
I managed to get a working connection:
> openssl s_client -connect outlook.office365.com:993 -crlf -quiet
depth=2 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert Global Root CA
verify return:1
depth=1 C = US, O = DigiCert Inc, CN = DigiCert Cloud Services CA-1
verify return:1
depth=0 C = US, ST = Washington, L = Redmond, O = Microsoft Corporation, CN = outlook.com
verify return:1
* OK The Microsoft Exchange IMAP4 service is ready. [VgBJADEAUAAxADkANQBDAEEAMAAwADcAOQAuAEUAVQBSAFAAMQA5ADUALgBQAFIATwBEAC4ATwBVAFQATABPAE8ASwAuAEMATwBNAA==]
1 capability
* CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
1 OK CAPABILITY completed.
2 authenticate PLAIN
+
<base64stringwithauthenticationdata>
2 OK AUTHENTICATE completed.
3 namespace
* NAMESPACE (("" "/")) NIL NIL
3 OK NAMESPACE completed.
And also to reproduce the given problem with the same commands:
openssl s_client -connect outlook.office365.com:993 -crlf -quiet
depth=2 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert Global Root CA
verify return:1
depth=1 C = US, O = DigiCert Inc, CN = DigiCert Cloud Services CA-1
verify return:1
depth=0 C = US, ST = Washington, L = Redmond, O = Microsoft Corporation, CN = outlook.com
verify return:1
* OK The Microsoft Exchange IMAP4 service is ready. [VgBJADEAUABSADAAOQBDAEEAMAAwADgANQAuAGUAdQByAHAAcgBkADAAOQAuAHAAcgBvAGQALgBvAHUAdABsAG8AbwBrAC4AYwBvAG0A]
1 capability
* CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
1 OK CAPABILITY completed.
2 authenticate PLAIN
+
<base64stringwithauthenticationdata>
2 OK AUTHENTICATE completed.
3 namespace
3 BAD User is authenticated but not connected.
3 namespace
3 BAD User is authenticated but not connected.
* BYE Connection closed. 14
read:errno=0
As you can see the cloud is sometimes answering correctly and sometimes returning "User is authenticated but not connected".
Could you please resolve the problem in the IMAP interface, or at least tell me why this is happening to avoid the problem?
My guess is that the cloud does puts me on some kind of a black list if a connection is broken, or I do connect too often in a certain time period. (The "chatty client" case)
Can you confirm or add any information about the mechanism run in the cloud that produces this problem for me?
Thank you in advance.
Regards,
Robert