How to Change the Outgoing SMTP Port in Exchange 2007
By default, Exchange Server 2007 uses port 25 to send SMTP email using Send Connectors. On occasion you may be required to configure an Exchange Send Connector to use a different port - For example, TCP port 465 is commonly used for SMTP over SSL for secure SMTP communication using the SSL protocol. Configuring the port is not expoosed through the Exchange Management Console (EMC), it must be configured from the Exchange Management Shell (EMS).
To get a list of the Send Connector names configured in your organization, run:
Get-SendConnector
Here's the one-liner that configures a Send Connector to use port 465:
Set-SendConnector "Your SMTP Send Connector" -Port 465If you're using a Microsoft Edge server, you will need to configure this from any server that is not running the Edge role. You will also need to wait for an EdgeSync operation or force it manually:
Start-EdgeSynchronizationNo services need to be restarted for this change to go into effect.
Labels: Edge, Microsoft Exchange 2007, PowerShell



2 Comments:
Fab! Thanks for the article. I am looking for a way to do this in Exchange Server 2000 SP3, do you know a way to do this?
Many thanks.
Sure, to change the outgoing SMTP port in Exchange 2003:
* Open the properties of the SMTP Virtual Server (under server, Protocols, SMTP)
* Click the Advanced button on the General tab
* Click the Edit button to change the port
Post a Comment
Thank you for posting a comment! It is my hope that you find the information here useful. Let me know (and others) if this post helped you out or if you have a comment or further information.
Links to this post:
Create a Link
<< Home