r/exchangeserver • u/flora_s_reed34 • 2d ago
Internet-facing Exchange server after migration.
All our mailboxes moved to Exchange Online long ago. We kept one on-prem server for recipient management. Nobody removed the old OWA and ECP publishing rule on the firewall, so both were still reachable from the internet even though we were not using them. I found out sideways. Security asked about an Exchange login page that was still visible to ionix. As far as they knew, "we don't run Exchange anymore."
For those in the same leftover hybrid state, did you pull inbound HTTPS publishing once mail stopped routing through on-prem, or was there still a hybrid service that needed it?
1
u/Pixel91 2d ago
You don't need anything pointing at the old Exchange anymore. Maybe SMTP if you have any recipients remaining on-prem. Otherwise they don't really communicate after migrations are done. All the account changes are pushed by Entra Sync, not Exchange.
1
u/Affectionate_Gur4131 2d ago
In your scenario if there is no mail-relay happening from the on-premises server, I would move SOA to Exchange Online and decomission the last Exchange Server.
https://learn.microsoft.com/en-us/exchange/hybrid-deployment/enable-exchange-attributes-cloud-management
1
u/KillingTime1212 2d ago
Kill any open 80/443 ports. Make sure MX/autodiscover DNS are all pointing to M365. Exchange is just for managing M365 and local SMTP.
1
u/7amitsingh7 4h ago
If your mailboxes are already in Exchange Online and the on-prem server is only used for recipient management, you can usually remove public access to OWA and ECP. After completing the migration from on-premises Exchange to Exchange Online, just make sure no remaining hybrid services depend on those firewall rules.