Depending on your Exchange environment it may be necessary to change the port number that your Send Connector communicates on. Generally it is left to port 25 but some applications may require a different configuration. An example of this may be.

  • Connection to an external/internal smarthost on a different port
  • Connection to a secure gateway for a particular domain in a scoped connector
  • Connection of a test server on a residential internet that blocks port 25

Whilst this option is clearly visible in a receive connector, it is not able to be changed in the EAC for a Send Connector. Luckily there is an easy powershell command to achieve this. From the Exchange Shell use this

set-sendconnector -identity ‘Outbound Email’ -port 2500

Simple as that, although you will need to stop and start your Transport Service to enact the change.

net stop MSExchangeTransport

net start MSExchangeTransport

Don’t forget that you will need to open the port on the Windows Firewall manually too. Also any external firewalls will need a rule placed there too. Other than that, you are good to go.

Mark Rochester

Mark Rochester

Mark is currently a Technical Design Architect for Office 365, working at Dell. His projects consist of large Enterprise implementations of Exchange Online, Azure AD, OneDrive, Skype for Business/Teams.