Saturday, February 4, 2023

Change Port Number for a Send Connector

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 Rochesterhttps://thecloudgeezer.com
Mark currently works in the cloud space assisting large companies to migrate from either on premises to the cloud, or cloud to cloud. His experience with Enterprise migrations spans more than 25 years which basically makes him old. However, with all the oldness creeping up he still finds technology massively exciting. Please reach out for a chat anytime you would like. :-)

Related Articles

Migrate Microsoft Teams using MigrationWiz

As there is no native way to migrate the content from Tenant to Tenant for Microsoft Teams we need to use a paid toolset...

Migrate Microsoft 365 Tenant to Tenant with Free Native Tools

An interesting topic again, debating whether the free native tools that are available to migrate the Exchange Online workload in Microsoft 365 are good...

Create ‘Dummy Test’ Users in Local Active Directory

The need for this comes along when you are testing things like Azure AD Connect Sync, or an AD to AD migration. Maybe an...

Stay Connected

82FansLike
37,255FollowersFollow
685SubscribersSubscribe
- Advertisement -

Latest Articles