Release Support > Pending Issues

Stuck with office365 setup

(1/2) > >>

llaurent59:
Hello :)

I have Roundcube 1.6 installed on a Windows Server 2019 since 2 years - and it worked perfectly until last friday
-> at 07:35, here is the log details
[21-Oct-2022 07:35:00 +0000]: [63ED] Connecting to ssl://outlook.office365.com:993...
[21-Oct-2022 07:35:00 +0000]: [63ED] S: * OK The Microsoft Exchange IMAP4 service is ready. [TABPADQAUAAyADYANQBDAEEAMAAwADMAMQAuAEcAQgBSAFAAMgA2ADUALgBQAFIATwBEAC4ATwBVAFQATABPAE8ASwAuAEMATwBNAA==]
[21-Oct-2022 07:35:00 +0000]: [63ED] C: A0001 CAPABILITY
[21-Oct-2022 07:35:00 +0000]: [63ED] S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
[21-Oct-2022 07:35:00 +0000]: [63ED] S: A0001 OK CAPABILITY completed.
[21-Oct-2022 07:35:00 +0000]: [63ED] C: A0002 AUTHENTICATE PLAIN ****** [49]
[21-Oct-2022 07:35:01 +0000]: [63ED] S: A0002 OK AUTHENTICATE completed.
[21-Oct-2022 07:35:01 +0000]: [63ED] C: A0003 ID ("name" "Roundcube" "version" "1.5-rc" "php" "7.2.18" "os" "WINNT" "command" NIL)
[21-Oct-2022 07:35:01 +0000]: [63ED] S: * ID ("name" "Microsoft.Exchange.Imap4.Imap4Server" "version" "15.20")
[21-Oct-2022 07:35:01 +0000]: [63ED] S: A0003 OK ID completed
[21-Oct-2022 07:35:01 +0000]: [63ED] C: A0004 NAMESPACE
[21-Oct-2022 07:35:01 +0000]: [63ED] S: * NAMESPACE (("" "/")) NIL NIL
[21-Oct-2022 07:35:01 +0000]: [63ED] S: A0004 OK NAMESPACE completed.
[21-Oct-2022 07:35:01 +0000]: [63ED] C: A0005 SELECT INBOX

but 30 minutes later :
[21-Oct-2022 08:05:00 +0000]: [B53D] Connecting to ssl://outlook.office365.com:993...
[21-Oct-2022 08:05:00 +0000]: [B53D] S: * OK The Microsoft Exchange IMAP4 service is ready. [TABPADIAUAAyADYANQBDAEEAMAAyADAANQAuAEcAQgBSAFAAMgA2ADUALgBQAFIATwBEAC4ATwBVAFQATABPAE8ASwAuAEMATwBNAA==]
[21-Oct-2022 08:05:00 +0000]: [B53D] C: A0001 CAPABILITY
[21-Oct-2022 08:05:00 +0000]: [B53D] S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
[21-Oct-2022 08:05:00 +0000]: [B53D] S: A0001 OK CAPABILITY completed.
[21-Oct-2022 08:05:00 +0000]: [B53D] C: A0002 AUTHENTICATE PLAIN ****** [49]
[21-Oct-2022 08:05:01 +0000]: [B53D] S: A0002 NO AUTHENTICATE failed.


Any help for setting my office365 configuration ???

Thanks in advance

SKaero:
It looks like Microsoft is removing support for plain auth https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online

llaurent59:
Hello :)

could you give me help about this
how can I implement oauth2

Thanks in advance

SKaero:
Look at the oauth section in the <RC root>/config/defaults.inc.php file, at the bottom there is an example for Office365.

llaurent:
Hello :)

I'm still stuck with oauth2 configuration
any help or tutorial highly appreciated

Thanks in advance

Navigation

[0] Message Index

[#] Next page

Go to full version