What is the AWP Mail-Gateway?
The AWP Mail-Gateway is an on-premise service from AWP Consult that sits between an existing application and Exchange Online and translates Basic Authentication into OAuth 2.0 automatically. In this way legacy applications and devices remain usable after the Microsoft 365 migration, without the software having to be changed. The service supports the IMAP, POP3 and SMTP protocols for retrieval and sending.
Why do applications lose their connection to Exchange Online?
Microsoft is phasing out Basic Authentication in Microsoft 365 and moving access via IMAP, POP3 and SMTP to OAuth 2.0. Applications and devices that support only Basic Authentication and receive no update for the modern sign-in are rejected by Exchange Online and therefore lose their connection to the mailbox.
How does the AWP Mail-Gateway translate Basic Authentication into OAuth 2.0?
The application continues to sign in to the gateway via Basic Authentication. In the background, the gateway obtains a time-limited access token under OAuth 2.0 from Microsoft 365 and uses it to establish the connection to Exchange Online. The process remains invisible to the application, and to Microsoft 365 the access looks like that of a modern, registered application.
Do I have to change my software?
No. The AWP Mail-Gateway is designed precisely so that no software change is needed on the existing application. Apart from the target server, which now points to the gateway, the configuration stays the same. This is particularly helpful where legacy applications have no update path for modern authentication.
Which protocols does the AWP Mail-Gateway support?
The gateway covers the IMAP, POP3 and SMTP protocols. IMAP and POP3 serve to retrieve messages from the mailbox, SMTP to send them. This keeps an application's complete email traffic intact, both receiving and sending via Exchange Online.
Where do the access credentials reside with the AWP Mail-Gateway?
The gateway runs in your own environment, not in a third-party cloud. The mailbox sign-in and the modern token stay in the gateway and therefore under the control of the company. Access credentials are not outsourced to an external service, and the mail traffic between the application and the gateway does not leave the internal network.
What is OAuth 2.0 and why is it more secure?
OAuth 2.0 is a standardised framework for token-based access, described in RFC 6749. Instead of sending a username and password on every connection, a registered application receives a time-limited token after a secured sign-in. An intercepted token is valid only for a limited time, and the access can be viewed and revoked in Microsoft 365 at any time.
Does the Microsoft 365 migration also affect multifunction devices?
Yes. Scanners and multifunction devices that send documents via SMTP to a mailbox often use only Basic Authentication and have no modern firmware. They are affected by the switch-off just as much as specialist applications. Via the AWP Mail-Gateway they keep their SMTP sending, without the firmware having to be changed.
When should I introduce the AWP Mail-Gateway?
Before the respective switch-off date of the affected access. The Microsoft 365 migration is running in stages, and as soon as Basic Authentication is switched off for a protocol, the affected application fails without a replacement. It makes sense to document the affected systems early and connect them via the gateway in good time.
Which systems benefit from the AWP Mail-Gateway?
Above all legacy applications without an update path, specialist systems that exchange notifications or receipts by mail, and devices such as scanners and multifunction devices. Wherever a system supports only Basic Authentication but should continue to work with Exchange Online, the gateway keeps the connection alive.
How does the AWP Mail-Gateway fit with enaio?
The gateway keeps applications and devices connected to Exchange Online, which then often feed into enaio processes. Retrieved emails can be processed further in an orderly way with AWP SmartFlow, and AWP Import GUI handles the quick filing. AWP Consult is a certified enaio partner in the DACH region and supports the connection from over 250 completed projects since 2006.
Is the AWP Mail-Gateway a permanent solution?
It is a future-proof connection for systems that cannot make the switch themselves. The gateway carries out the modern sign-in towards Microsoft 365 and remains in place even when Basic Authentication is switched off completely. Where an application later does support OAuth 2.0 itself, the connection can be adjusted at any time.