Article ID: 247958
Article Last Modified on 6/23/2005
APPLIES TO
- Microsoft Internet Information Server 4.0
This article was previously published under Q247958
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
SUMMARY
When you install the Windows NT 4.0 Option Pack (NTOP), the root directory of the Default Web Site is Inetpub\Wwwroot. During setup, in the Inetpub folder, the Mailroot subdirectory is created with the following subfolders used by the SMTP service:
- BadMail
- Drop
- MailBox
- PickUp
- Queue
- Route
- SortTemp
If you move the Inetpub directory to another drive or folder and delete the original Inetpub directory, when you restart your Web server, the folders for the SMTP Service are re-created in the Inetpub directory.
MORE INFORMATION
To configure the SMTP service to use the new root directory, you must change the path information in the metabase. To manually make the changes necessary to the metabase, use MetaEdit from the IIS Resource Kit or programmatically use ADSI APIs. To do this, perform the following steps:
- Edit the metabase and open LM/SMTPSVC.
- Edit ID 36930 to reference the new SortTemp directory.
- Open LM/SMTPSVC/1/QueueDirectory and edit the string to reference the new folder.
- Open LM/SMTPSVC/1/PickupDirectory and edit the string to reference the new folder.
- Open LM/SMTPSVC/1/DropDirectory and edit the string to reference the new folder
- Open LM/SMTPSVC/1/BadMailDirectory and edit the string to reference the new folder.
- Open LM/SMTPSVC/1/RoutingSources and edit the multisz to reference the new folder.
- Open LM/SMTPSVC/1/Root/MailBox/Path and edit the string to reference the new folder.
- From the command prompt or services, stop the IIS Admin Service using the following command:
net stop IISADMIN
- For the changes to take effect, restart the Web Publishing Service using the following command:
net start W3SVC
REFERENCES
For additional information on the metabase and the utilities used for modifying the metabase, click the article numbers below to view the articles in the Microsoft Knowledge Base:
240941 An Introduction to the IIS Metabase
240225 Description of Adsutil and MetaEdit Used to Modify the Metabase
Keywords: kbhowto KB247958