Microsoft KB Archive/310155

From BetaArchive Wiki

Article ID: 310155

Article Last Modified on 11/21/2006



APPLIES TO

  • Microsoft Windows 2000 Server
  • Microsoft Internet Information Services 5.0



This article was previously published under Q310155


SUMMARY

This step-by-step article describes how to disable the Internet Information Services (IIS) 5.0 Simple Mail Transfer Protocol (SMTP) Service socket pooling functionality.

You can use the socket pooling functionality in IIS 5.0 to host multiple sites that use a different Internet Protocol (IP) addresses but the same port number. If you use socket pooling, you can reduce the amount of resources that the IIS 5.0 services consume. IIS 5.0 can host many more sites than IIS 4.0 because of socket pooling.

If you use socket pooling, IIS 5.0 services listen on all IP addresses regardless of the IP address that you configure in the IIS snap-in.

back to the top

How to Disable SMTP Service Socket Pooling

Use the Mdutil.exe utility that is located on the Windows 2000 CD-ROM distribution media to disable SMTP Service socket pooling:

  1. Copy the Mdutil.ex_ file from the I386 folder on the Windows 2000 CD-ROM to the InetPub\Adminscripts folder on your local hard disk.
  2. Open a command prompt, change the location to the folder in which you copied the Mdutil.ex_ file, and then type the following command:

    expand mdutil.ex_ mdutil.exe

  3. Type the following command at the command prompt, and then press ENTER:

    mdutil.exe enum -path:smtpsvc

  4. Type the following command at the command prompt, where number is the SMTP Service number for which you want to disable socket pooling, and then press ENTER:

    mdutil set -path smtpsvc/number -value 1 -dtype 1 -prop 1029 -attrib 1

    NOTES:

    • Run this command for each virtual server with a different value for number if you have multiple SMTP virtual servers.
    • When you type the command, do not include a space between "smtpsvc/" and "number".
  5. In the IIS snap-in, change the listening address for SMTP Service to an internal interface on the server.

After you disable socket pooling and change the SMTP Service listening address, you can use Server Publishing rules to publish an internal SMTP server.

back to the top

Troubleshooting

You cannot use socket pooling if you run an IIS 5.0 server in a secure environment that requires you to limit the IP addresses that IIS 5.0 services listen on. Socket pooling can cause problems if the IIS 5.0 server is connected to multiple networks.

For example, you want to use Internet Security and Acceleration (ISA) Server 2000 to publish an internal SMTP server, but you also want IIS 5.0 SMTP Service to listen on the internal interface of the ISA Server-based computer. To publish the internal SMTP server:

  1. Disable socket pooling for SMTP Service on the ISA Server-based computer.
  2. Unbind the service from the external address of the ISA Server-based computer.

back to the top

Keywords: kbhowtomaster KB310155