This article applies to:
Exchange 2010, Exchange 2013, Exchange 2016, Exchange 2019

If you need to troubleshoot why an application is unable to send e-mails through your Exchange Server, one of the things you will have to do, is to check your receive connectors. Often you will find numerous connectors configured (sometimes even more than 10) and from Exchange Admin Console graphical interface it is not so easy to get and compare all the relevant parameters (IPs and ports the connector is listening on, which authentication mechanisms are allowed, which types of senders are permited, which IPs are allowed as senders)

The following PowerShell command might make your life easier:

Copy to Clipboard

The command will provide you with all the relevant receive connector information in one view. This will allow you to fairly easy to determine by which connector is connection actually being handled and what parameters are configured on that connector.

Identity : Exchange01\Client Exchange01
AuthMechanism : Tls, Integrated, BasicAuth, BasicAuthRequireTLS
PermissionGroups : ExchangeUsers
Bindings : {:::587, 0.0.0.0:587}
RemoteIPRanges : {::-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff, 0.0.0.0-255.255.255.255}

Identity : Exchange01\Cloud-Receive Exchange01
AuthMechanism : Tls
PermissionGroups : AnonymousUsers, Custom
Bindings : {0.0.0.0:25}
RemoteIPRanges : {10.191.84.125, 10.191.84.124, 10.191.84.123, 10.191.84.122, 10.191.84.121, 10.191.84.120, 10.191.84.119}

Identity : Exchange01\Default Exchange01
AuthMechanism : Tls, Integrated, BasicAuth, BasicAuthRequireTLS, ExchangeServer
PermissionGroups : ExchangeUsers, ExchangeServers, ExchangeLegacyServers
Bindings : {:::25, 0.0.0.0:25}
RemoteIPRanges : {::-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff, 0.0.0.0-255.255.255.255}

Identity : Exchange01\No-Internet-Mail Exchange01
AuthMechanism : Tls
PermissionGroups : AnonymousUsers, Custom
Bindings : {0.0.0.0:25}
RemoteIPRanges : {10.2.120.168, 10.3.214.69, 10.2.112.60, 10.2.96.178, 10.2.94.34, 10.2.132.52, 10.2.160.70, 10.2.101.62, 10.2.102.56, 10.2.180.63}

Identity : Exchange01\Relay Exchange01
AuthMechanism : Tls, BasicAuth
PermissionGroups : AnonymousUsers, Custom
Bindings : {0.0.0.0:25}
RemoteIPRanges : {10.2.54.53, 10.2.55.71, 10.2.52.188, 10.2.52.181, 10.2.190.69, 10.2.114.49}


Dejan Foro