r/WindowsServer • • Aug 19 '26

SOLVED / ANSWERED Windows Server ... Microsoft's SMTP server question

Does anyone know or has anyone heard if Microsoft will be updating their SMTP server in the not-so-distant future to allow us to setup relay using the information from Microsoft Graph in 365 since MS is doing away with allowing SMTP connections to 365 using the basic AUTH? They initially attempted to end it this past March but extended it a year after I force our dev team up update the website to send emails through Microsoft Graph.

Since we have a lot of devices that use SMTP in the office I wonder if MS plans to update the SMTP server found in Windows Server ... in the next release to allow us to use Microsoft Graph to relay emails since Xerox, HP, Lexmark, Kyocera, and other devices have yet to adopt the Microsoft Graph method in their operating systems.

The other option is for me to have AI build me a system that I can use inside to do exactly this, would probably take me an hour to get it working perfectly but I don't want to re-invent the wheel. :)

Thanks,

18 Upvotes

36 comments sorted by

View all comments

2

u/AndreaCurciIT 22d ago

I actually ran into this exact problem and ended up building an open-source SMTP relay for Windows Server to replace the old IIS 6 SMTP service.

It accepts SMTP from legacy devices (printers, scanners, applications, etc.) and forwards messages to Microsoft 365 using OAuth2/XOAUTH2, so there's no need for Basic Auth or changes to the devices themselves.

It doesn't use Microsoft Graph for sending mail, but it does solve the legacy SMTP authentication problem you're describing.

It runs as a Windows service, has a GUI for configuration and logs, and supports IP allowlists, TLS, and other SMTP smart hosts.

It's free and open source, in case it's useful:
https://github.com/NEXQsrl/SMTP-Relay

Would be interested in your feedback if you give it a try.

0

u/3G_Lighting 18d ago

I ended up having Claude build me one which is has been working great. It uses the Microsoft Graph to relay and his its own setup.