I'm currently managing an Exchange 2019 server and an SMTP server within my domain, both operating on Windows. I'm planning a project to replace the Windows SMTP server with a Linux-based SMTP server, but I want to retain the Exchange setup. Can anyone guide me to tutorials, documentation, or helpful URLs for this transition?
3 Answers
I set up a similar system on Ubuntu not long ago. It's fairly straightforward, although I can't remember all the steps offhand. A quick Google search should bring you plenty of resources.
If you're looking for tutorials to set up a Linux SMTP server, check out these links:
1. [Debian 12 as an SMTP Relay to Microsoft 365 with OAuth2](https://std.rocks/relay-ms365-oauth.html)
2. [Configure Postfix on Debian 13 as an SMTP Relay to Microsoft 365 with OAuth2](https://std.rocks/relay-ms365-oauth-debian-13.html) They provide pretty solid guides for getting started.
Consider whether you're sending internal emails. Instead of an SMTP server, you might just direct your emails to your MX records. You could then set up an Exchange connector to send directly to your internal mailboxes. It could simplify things a bit!

Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux