SMTP Port Change
[This topic is intended to address a specific issue called out by the Exchange Server Analyzer Tool. You should apply it only to systems that have had the Exchange Server Analyzer Tool run against them and are experiencing that specific issue. The Exchange Server Analyzer Tool, available as a free download, remotely collects configuration data from each server in the topology and automatically analyzes the data. The resulting report details important configuration issues, potential problems, and nondefault product settings. By following these recommendations, you can achieve better performance, scalability, reliability, and uptime. For more information about the tool or to download the latest versions, see "Microsoft Exchange Analyzers" at http://go.microsoft.com/fwlink/?linkid=34707.]
Topic Last Modified: 2006-05-11
The Microsoft® Exchange Server Analyzer Tool reads the following property in the Internet Information Services (IIS) metabase to determine whether its value matches the default value of 25:
LM/SmtpSvc/<SMTP virtual server instance>/SMTPPORT
If the Exchange Server Analyzer finds that the value for the SMTPPORT property is not 25, the Exchange Server Analyzer displays a warning.
The SMTPPORT property represents the TCP port on which this Simple Mail Transfer Protocol (SMTP) server listens for incoming connections. SMTP virtual servers can be configured to listen on one or more TCP ports. By default, all SMTP virtual servers are configured to listen on TCP port 25, the default SMTP port. If the SMTP listening port has been modified from the default and no longer includes TCP port 25 in its list of listening ports, this modification could disrupt mail flow.
It is acceptable to change the SMTP listening port, provided that the rest of your internal messaging infrastructure is also modified accordingly. However, generally, alternative ports cannot be used for SMTP virtual servers that accept messages directly from the Internet, as SMTP servers on the Internet send messages through port 25.
The Exchange Server Analyzer examines the value for the Exchange SMTP protocol virtual server. This SMTP protocol virtual server is not necessarily the SMTP server that receives messages directly from the Internet. There are some antivirus and anti-spam products that are designed to receive SMTP messages from the Internet on port 25 and redirect to an Exchange SMTP virtual server on another port. In this scenario, an Exchange SMTP virtual server that listens on something other than port 25 is an acceptable configuration.
To view or modify the SMTP virtual server listening port
In Exchange System Manager, expand Servers, expand an Exchange server, expand Protocols, and then expand SMTP.
Right-click an SMTP virtual server, for example, Default SMTP Virtual Server, and then click Properties.
Select the General tab, and then click Advanced.
A list of IP addresses and ports will be displayed.
To change the existing port, select the IP address, and then click Edit. Change the TCP port field to 25.
To add port 25 as an additional listening port, click Add, and add the new IP address/port combination. If you are using connection, sender or recipient filtering, make sure that you select the appropriate check boxes.
Click OK to save your changes, and then click OK to exit the Advanced dialog box. Click OK to close the Properties dialog box for the SMTP virtual server.
For more information about SMTP virtual server settings, see the following Microsoft Knowledge Base articles:
266686, "XCON: How to Configure a SMTP Virtual Server Part 1" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=266686).
268163, "XCON: How to Configure a SMTP Virtual Server Part 2" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=268163).