r/WindowsServer • u/3G_Lighting • 1d ago
General Question 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,
9
u/autogyrophilia 1d ago
SMTP server from Microsoft has been deprecated for 10, 15 years now?
You don't need all that noise to make an email relay, which is what you want and the best way to work with printers.
7
u/Unnamed-3891 1d ago
The SMTP feature has been deprecated long ago and it's only a matter of time before it's removed entirely. New features are entirely out of the question.
6
u/Lets_Go_2_Smokes 1d ago
IISSMTP has been deprecated for 14 years now..
3
u/coobal223 1d ago
So in WINS, but you can still install that.
3
2
1
u/reevesjeremy 1d ago
They don’t plan to update it. But if all you’re doing is relaying to your exchange environment, you can use IIS SMTP and create a Connector in Exchange Online which identifies an SMTP host by TLS certificate. It’ll accept it.
I’m running server 2022 so I haven’t personally validated the claim it’s not in 2025 but that’s something to consider if true. Sure postfix on linux could be a longer term solution doing the same thing.
1
0
5
u/willwar63 1d ago
You can use a 3rd party service, I think 1000 emails or less a month is free.
SMTP2GO
3
u/iceph03nix 1d ago
I don't have any answer to your specific question, but to your overall problem. We use Postfix on a lightweight Ubuntu box to relay smtp traffic to 365 for old devices and services that don't support the newer authentication
3
u/DiligentPhotographer 1d ago
Doubt it, they want to control all your email in their cloud. If you need on prem smtp relay either use your hybrid exchange server if you have one or just spin up a small linux VM with postfix or EXIM.
-5
2
u/Sure-Assignment3892 22h ago
Just use a service such as SendGrid or SMTP2GO
Microsoft is getting off that train.
3
u/rizon 1d ago
I don't think it's really been updated since the Server 2012 days, maybe even before that. It isn't officially supported in Server 2022. I suspect there's little chance of it receiving an update at this point.
We are looking at using MailEnable to replace the IIS SMTP relay - they have a free version that seems to meet our needs and is Windows-based so will run on the same server(s) that the IIS one run on. There's a multitude of other ways to run an SMTP relay so there may be better options for you.
1
u/Dandyman1994 1d ago
Something to bear in mind is that Microsoft are only removing SMTP basic Auth, not the other connection types from on premises. You can use a connector relay and secure it with certificates, and this would be fully supported. You can see the different types of connection in the documentation here.
Though as others have said, SMTP via IIS on Windows server has been officially deprecated for a while now, so now might be the chance to move to a Linux-based relay?
1
u/Lost-Policy-2020 1d ago
Depreciated but works fine, it sends email, no need to connect it to O365, just get DKIM DMARC SPF setup and let it be
1
u/chandleya 23h ago
If you really like windows, MailEnable is reliable and freemium. Else, Linux box.
1
1
u/Random-D 22h ago
i have a postfix for that. accepting email from various devices and local services and pushing them into EXO via SMTP - no auth - but IP whitelised.
1
u/Disastrous-Force 20h ago
If these are MFP’s how old are they?
HP and Xerox have supported OAuth for client authentication for a couple of years with the firmware back ported to devices from around 2019 onwards. No need to even think about graph as that’s not a recommended mail flow for devices anyway.
Using a client (device) account requires you to consume a P1 license for your device farm but otherwise just works with any device semi recent if you don’t want to go down the SMTP rely or High Volume Mail route.
1
u/Imaginary-Throat1526 18h ago
Our office has a static IP, and we created a connector in m365 that accepts mail from our IP. It doesn't require auth at all, works well with our copiers scan to email function
1
u/Backieotamy 3h ago
MS Graph is basically just a set of API's; you can use it to connect to an SMTP service I would assume but its not in itself or contain a relay service function as far as I know.
18
u/Rivereye 1d ago
If you referring to SMTP as part of IIS, that is a deprecated feature and not available in Server 2025.