Open your Exchange Management Console and navigate to “Organization Configuration” – “Hub Transport” – “Send Connectors”.
Right-click and choose “New Send Connector…”
Give your new connector a name and choose the type of connector.
We are going to use “Custom”
Click add and put a * into address Space and put a mark in “Include all subdomains”.
It Means you are going to use this send connector for all outgoing mail.
Type in IP or FQDN of your smarthost.
Your smarthost might be different, so type in the settings needed for your smarthost.
The Source Server is preselected. Just press OK.
Review the settings and press finish.
Change port used on the connector.
My ISP has blocked for port 25, but there are a lot of other reasons to change the port used to send mail out.
Now, open your Powershell of Exchange and type:
This will get you a list of all your send connectors if you have more than one. It also only dsiplays Address Space and enabled/disabled.
Since we want to see the port used, type in:
Get-SendConnector | select name,port
This will show you the name and port used of all the send connectors you have.
We want to change the port to port 587 from 25 so type in:
Set-SendConnector * -Port 587
If you have more than one connector use the following syntax to select a specific Send Connector:
Set-SendConnector "MySendConnector -Port 587
Verify the port change by typing:
Set-SendConnector "MySendConnector" | select name,port
You can get a full listing of attributes for you send connector by typing:
Get-SendConnector "MySendConnector" | fl *