Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XFOR: Changing the TCP Port Used for SMTP Mail


View products that this article applies to.

This article was previously published under Q173903

↑ Back to the top


Summary

This article tells you how to configure the Microsoft Exchange Server Internet Mail Service (IMS) to use a TCP port other than port 25 to receive SMTP mail. This is a function of the TCP/IP protocol and is controlled by the entry in the Services file in the Winnt\System32\Drivers\Etc directory. This change is required if you are using the new Mail Virus Scan from Symantec; the Symantec product requires forwarding to the SMTP gateway by way of a port other than port 25.

↑ Back to the top


More information

  1. Edit the Services file, Winnt\System32\Drivers\Etc\Services, to specify the port used for SMTP.

    The following example, an excerpt from the Services file, shows removing SMTP from port 25 and enabling SMTP on port 17. Port 17 is normally used for 'qotd' (quote of the day) service.
          smtp 17/tcp mail
          #qotd 17/tcp quote
          #qotd 17/udp quote
          chargen 19/tcp ttytst source
          chargen 19/udp ttytst source
          ftp-data 20/tcp
          ftp 21/tcp
          telnet 23/tcp
          #smtp 25/tcp mail
          time 37/tcp timserver
    						
  2. Telnet ip_address or server_name 17 to verify that the Internet Mail Service is indeed listening on tcp port 17.
Mail Virus Scan is manufactured by Symantec, a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

↑ Back to the top


Keywords: KB173903, kbusage, kbtshoot, kbsetup, kbinfo

↑ Back to the top

Article Info
Article ID : 173903
Revision : 6
Created on : 10/28/2006
Published on : 10/28/2006
Exists online : False
Views : 338