To move the Mailroot folder, use one of the following methods, as appropriate to your situation:
Note Method 1 describes how you can move the Badmail folder and the Queue folder by using Exchange System Manager. If you also want to move the Pickup folder, use Method 2.
Method 1: Use Exchange System Manager
- Start Exchange System Manager.
- Make sure that you can view administrative groups in Exchange System Manager. To do this, right-click your server, click Properties, and then click to select the Display administrative groups check box if it is not checked.
- Expand Administrative Groups, expand your administrative group, expand Servers, expand your server, expand Protocols, and then expand SMTP.
- Right-click your SMTP virtual server, and then click Stop.
- Right-click your SMTP virtual server, and then click Properties.
- Click Messages, and then do the following:
- In the Badmail directory box, type the path of the new location of the Badmail folder.
- In the Queue directory box, type the path of the new location of the Queue folder.
- Right-click your SMTP virtual server, and then click Start.
Method 2: Use ADSI Edit
Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.
- Install the Microsoft Windows 2000 Resource Kit on your Exchange 2003 computer or on a client computer.
Note There is no requirement to install the Windows 2000 Resource Kit on the Exchange 2003 computer. - Enable diagnostics logging of Directory Service to Metabase replication. To do this, follow these steps:
- Start Exchange System Manager.
- Make sure that you can view administrative groups in Exchange System Manager. To do this, right-click your organization, click Properties, and then click to select the Display administrative groups check box if it is not selected.
- Expand Administrative Groups, expand Servers, right-click the Exchange server, and then click Properties.
- Click the Diagnostics Logging tab.
- Click to select the MSExchangeMU item under the Services list.
- Under Logging Level, click Maximum.
By default, the logging level is None. - Click OK.
- Stop all Exchange services and Internet Information Service (IIS) services on the Exchange 2003 computer that you want to change.
- Create a backup copy of the Program Files\Exchsrvr\Mailroot folder.
Important Make sure that you perform this step before you continue. - Move the Vsi 1 folder, the subfolders of the Vsi 1 folder, and the contents of the Vsi 1 folder from drive:\Program Files\Exchsrvr\Mailroot to the new location.
Note Do not move the Mailroot folder itself. - Register the Adsiedit.dll file by using the regsvr32 command. To do so, follow these steps:
- Click Start, and then click Run.
- In the Open box, type the following line, and then click OK:
regsvr32 "drive:\program files\support tools\adsiedit.dll"
- Click Start, click Run, type MMC, and then click OK to open a new Microsoft Management Console (MMC).
- Click Add/Remove Snap-in, and then click Add to add the ADSI Edit snap-in.
- In the console tree, click ADSI Edit, and then click Connect To on the Action menu.
- Click Naming Context, click Configuration Container in the Naming Context list, and then click OK.
- Locate the following Microsoft Active Directory directory service container in the configuration container:
CN=Configuration\ CN=Services \CN=Microsoft Exchange \CN=YourOrganizationName\ CN=Administrative Groups\CN=YourAdminGroupName\ CN=Servers \CN=YourServerName \CN=Protocols\CN=SMTP \CN=1
- Right-click CN=1, and then click Properties.
- In the Select which properties to view list, click Both.
-
Edit the attributes for the following properties, and then click Set after you edit each one:
- msExchSmtpBadMailDirectory
- msExchSmtpPickupDirectory
- msExchSmtpQueueDirectory
- Wait for Active Directory replication to replicate these changes to the rest of the forest.
Or, at least wait for Active Directory replication to replicate these changes to the domain controllers and to the global catalog servers that your Exchange 2003 computer references.
- Start only the Exchange System Attendant service. This procedure copies the paths that you have changed from Active Directory to the metabase
If you have enabled Directory Service to Metabase diagnostics logging as described in step 2, an event that indicates that the paths in the metabase have updated successfully is recorded three times in the event log. (Event ID: 1005, Source: MSExchangeMU, Category: General). This event is recorded shortly after initialization. - Restart the Exchange 2003 computer.
For more information, view the
Microsoft Exchange 2000 Internals: Quick Tuning Guide white paper at the following Microsoft Web site: