How can I change the incoming SMTP port to another port in...

Expand / Collapse
 

How can I change the incoming SMTP port to another port in Microsoft Exchange?


Question:

How can I change the incoming SMTP port to another port in Microsoft Exchange?

Answer:

If SecurityGateway is to be installed on the same machine as a Microsoft Exchange Server, it will be necessary to have Exchange listen on a non-standard SMTP port and for SecurityGateway to pass incoming email to Exchange on that new port.

Exchange 5.5:

To change the SMTP listening port on a server that is running Exchange 5.5 from port 25 to another port (for example: port 26) follow these steps:

1. Open Control Panel -> Administrative Tools -> Services.

2. Stop the Exchange Server Internet Mail service.

3. Open the file \Winnt\System32\Drivers\Etc\Services in notepad.

4. Locate the line: smtp 25/tcp mail and change the 25 to 26.

5. Save the Services file.

6. Restart the Exchange Server Internet Mail service.

Exchange 2000 / 2003:

To change the SMTP listening port on a server that is running Exchange 2000 or Exchange 2003 from port 25 to another port (for example: port 26) follow these steps:

1. Start the Exchange System Manager.

2. Locate and click Servername, click Protocols, and then click SMTP.
 
3. Right-click the Default SMTP Virtual Server object, and then click Properties.

4. On the General tab, click the Advanced button, click the Edit button, and then set the Transmission Control Protocol (TCP) port to 26 (or whatever new value you require).

Exchange 2007:

Exchange 2007 uses RECEIVE and SEND connectors (one for receiving mails and the other for sending mails), so it will be necessary to change the RECEIVE connector.

To reach the RECEIVE connector in the Exchange Management Console navigate to Hub Transport -> <RECEIVECONNECTORNAME> --> Properties --> Network --> Local IP Addresses (Edit Receive Connector Binding).

For example...

Possible issues to note:

***Please note that the above is provided as a reference guide only. It's important to note that we don't support Microsoft Exchange configuration changes.***