Subscribe to Windows IT Pro
April 30, 2002 12:00 AM

IIS Informant: Changing the Drive Configuration for an SMTP Server

Windows IT Pro
InstantDoc ID #24847
Rating: (0)

I installed the Microsoft SMTP service on my IIS server's E drive and later changed the drive configuration so that the SMTP folders reside on the D drive. The SMTP service UI doesn't let me configure the location of the mailroot folder. How can I direct the SMTP service to the new drive letter without having to reinstall the service?

By default, the SMTP folders—BadMail, Drop, MailBox, PickUp, Queue, Route, and SortTemp—are installed in the Inetpub folder. However, because the BadMail, Drop, Pickup, and Queue folders are specified in the IIS 5.0 LM/SmtpSvc metabase key, as Figure 3, page 8, shows, you can change the location of these folders. You can change the SortTemp folder's location by modifying its reference location in the entry for ID 36930.

In IIS 4.0, you can complete the relocation to a new drive by specifying the location of the Route (the LM/SmtpSvc/1/RoutingSources metabase subkey, ID 36910) and MailBox (the LM/SmtpSvc/1/Root/MailBox/Path metabase subkey) folders. (For more information about changing the drive configuration, see the Microsoft article "How to Change the Path Used by the SMTP Service for the NTOP" at http://support.microsoft.com/default.aspx?scid=kb;en-us;q247958.) However, in IIS 5.x, the Route and MailBox folders' metabase subkeys aren't defined, making relocation an incomplete process for IIS 5.x users.

Documentation about moving these two folders in IIS 5.0 is sketchy. Unfortunately, the best solution might be simply to uninstall the SMTP service from the E drive and reinstall it to the new location. (For more information about editing the IIS metabase, see William Sheldon, "Getting to Edit the Metabase," February 2001, InstantDoc ID 16462.)

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.