Office365 IMAP4S + POP3S is dropping legacy authentication in favour of OAUTH2.0 authentication -- effective October 2020.  (Some may have longer.)

How do you you plan to migrate to authentication?  Do you plan to upgrade your client(s) or inject an OAUTH2.0 transparent proxy ?
----------------------------------------------------------------------

Message: 1
Date: Thu, 23 Jul 2020 01:22:06 +0000
From: Mel Gilbert <m.gilbert@baymedicalgroup.com.au>
To: "stunnel-users@stunnel.org" <stunnel-users@stunnel.org>
Subject: Re: [stunnel-users] Getting incoming Exchange online (Office
    365) emails to go to port 110 and not 995
Message-ID:
    <SY4P282MB074766F32238B92A3D951499C1760@SY4P282MB0747.AUSP282.PROD.OUTLOOK.COM>
   
Content-Type: text/plain; charset="us-ascii"

Hi

Trying to get an application with inbuilt email to receive emails using POP and port 110. However we use Office 365 and I have tried below config but it is not working.  I want people to send email to an Exchange Online Account port 995 and it gets forwarded on to the email app on port 110

client = yes
output = stunnel-log.txt
debug=7
taskbar=yes

[POP3 Incoming]
accept = 110
connect = Outlook.office365.com:995
cert = stunnel.pem

[SMTP Outgoing]
protocol = smtp
accept = 25
connect = smtp.office365.com:587
cert = stunnel.pem

The outgoing email works fine using SMTP relay that I've set up on Office 365 but cant get the incoming emails to work.

Any help would be appreciated

Thanks

Mel