On several occasions I’ve noticed that Comcast seems to be blocking port 25 on their internet connections. This, of course, is an issue for SBS 2011 networks and outgoing SMTP email. For most cases I use a Smart Host for outbound email such as DynDNS. However, the built in wizard for configuring the Smart Host does not allow you to specify which port to use. Fortunately, with two simple powershell commands you can change this.
- Open Exchange Management Shell (EMS) as an administrator.
- Type the following cmdlet to list all the current Send Connectors.
[note]Get-SendConnector[/note] - Using the SMTP Send Connector name extracted from the above cmdlet type the following cmdlet to change to the desired port. (2525 in this case)
[note]Set-SendConnector “SMTP Send Connector Name goes here” -Port 2525[/note]
Hat tip to prolateral.
No matter how or where i type
Get-SendConnector in power shell (as an administrator) i get
The term ‘Get-SendConnector’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:18
+ Get-SendConnector <<<<
+ CategoryInfo : ObjectNotFound: (Get-SendConnector:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException