The process of building custom applications and tools that interact with Microsoft Exchange Server
Hi @Hanah Cori
Thank you for reaching out to Microsoft Learn Q&A!
Based on my research, here are some steps you can take to validate connector configurations and ensure consistent mail routing during your Exchange Server SE deployment:
1.Verify Connector configuration:
Run the following PowerShell commands on both Exchange Server 2019 and Exchange Server SE to confirm that the connectors match:
Get-ReceiveConnector -Server <ServerName> | Format-List Name, Bindings, RemoteIPRanges, AuthMechanism, PermissionGroups
This will display each receive connector’s network bindings (IP/port), allowed senders (RemoteIPRanges), authentication mechanisms, and permission groups.
Get-SendConnector | Format-List Name, AddressSpaces, SourceTransportServers, Enabled, DNSRoutingEnabled, SmartHosts
This shows each send connector’s address spaces (domains it serves), source servers, and whether it uses DNS or a smart host.
2.Test Mail Flow
To confirm mail routing between servers and external addresses, you can use:
Test-Mailflow <SoureServer> -TargetMailboxServer <TargetMailboxServer>
This tests sending a message from the source server to the target mailbox server.
Test-Mailflow <SoureServer> -TargetEmailAddress <ExternalEmailAddress>
This checks mail flow from the source server to an external email address.
3.Review Transport Service settings
You can use the following PowerShell command to query Transport service settings that manage routing, queuing, and delivery:
Get-TransportService -Identity <ServerName> | Format-List Identity, ConnectivityLogEnabled, MessageExpirationTimeout, QueueMaxIdleTime, MaxOutboundConnections, ReceiveProtocolLogPath
For detailed guidance, you can refer to:
- Get-SendConnector (ExchangePowerShell) | Microsoft Learn
- Get-ReceiveConnector (ExchangePowerShell) | Microsoft Learn
- Test-Mailflow (ExchangePowerShell) | Microsoft Learn
- Get-TransportService (ExchangePowerShell) | Microsoft Learn
I hope this provides clarity and helps you move forward with confidence. If you have any updates or need further assistance, please feel free to reach out.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.