Microsoft KB Archive/310155

= HOW TO: Disable IIS 5.0 SMTP Service Socket Pooling in Windows 2000 =

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





IN THIS TASK
SUMMARY
 * How to Disable SMTP Service Socket Pooling
 * Troubleshooting



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:  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. 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

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

mdutil.exe enum -path:smtpsvc

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

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

NOTES:  Run this command for each virtual server with a different value for  if you have multiple SMTP virtual servers. When you type the command, do not include a space between &quot;smtpsvc/&quot; and &quot;number&quot;.</li></ul> </li> In the IIS snap-in, change the listening address for SMTP Service to an internal interface on the server.</li></ol>

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

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.