Office365 MailProxy 2.0.106

This software is intended for use as a mail proxy between legacy mail clients and Office 365, which requires an OAuth authentication since 2022. The proxy serves transparent in between and handles POP3 and SMTP procotol. The proxy can be used integrated in ET-Connector or standalone.

Setup office 365

The following steps show how to enable an application access through OAuth mechanism in Office 365. The principal is explained at https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth but documentation has some caveats.

Login into Entra Admin Center https://entra.microsoft.com/#view/Microsoft_AAD_IAM/TenantOverview.ReactView?Microsoft_AAD_IAM_legacyAADRedirect=true with administrative right

Goto the organization overview and note the organization-id or tenant-id

grafik.png

Register a new app

grafik.png

Give a useful name, i.e. O3654ET

grafik.png

Note the application-id of the new app!

grafik.png

Create a new secret and note the client secret value, not the client id!

Note: The client secret has an expiration date, take care of this date. If the service cannot login anymore, the server returns an error "unknown user name or bad password"

grafik.png

Add API permission