Microsoft KB Archive/288115

= How to exclude mailboxes from the Mailbox Manager process =

Article ID: 288115

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Windows Small Business Server 2003 Premium Edition
 * Microsoft Windows Small Business Server 2003 Standard Edition

-



This article was previously published under Q288115



SUMMARY
This article describes how to exclude certain users from the mailbox management process when you use the Mailbox Manager functionality. For more information about Exchange 2000 Mailbox Manager functionality, click the following article number to view the article in the Microsoft Knowledge Base:

278024 Exchange 2000 Server Service Pack 1 Mailbox Manager



MORE INFORMATION
After you install Exchange 2000 Service Pack 1 (SP1), if you are an administrator, you can clean user mailboxes based on message size or age. Although the Clean Mailbox functionality is useful for managing mailboxes, you may need to exclude certain users from the mailbox management process. To exclude a single user or multiple users, you can create additional recipient policies that use custom filters that apply only to these users. Or, if you only want to exclude one user or a very small group of users, the second method below may be better because it does not require that you create an additional recipient policy. You exclude the users by adding an attribute the user object associated with the mailbox to be excluded.

To create and configure a recipient policy that will exclude users from the mailbox management process:  Click Start, click Programs, click Microsoft Exchange, and then click System Manager. Browse to the following location:

/Recipients/Recipient Policies

 Right-click Recipient Policies, point to New, and then click Recipient Policy. Click to select the Mailbox Manager Settings check box, and then click OK. In the Name box, type a descriptive name for the new recipient policy, for example, Users Excluded from Mailbox Management . Click the Mailbox Manager Settings (Policy) tab, and then click to clear all of the folder check boxes so that none of the folders are processed. Verify that Generate Report Only is displayed in the When Processing a Mailbox box.</li> Click the General tab, and then click Modify.</li> In the Find box, click Custom Search.</li> Click the Advanced tab, and then type one of the following queries: <ul> To exclude a single user, type the following filter:

(& (objectCategory=person)(objectClass=user)(mailnickname= ))

</li> To exclude multiple users, type the following filter:

(&(objectCategory=person)(objectClass=User)(|(mailnickname= )(mailnickname= )))

NOTE: This example describes the syntax for two users. Modify the filter if you want to find more than two users. The filter is limited to 256 characters.</li></ul> </li> After you type the filter, click Find Now, and then verify that the correct accounts were found.</li> Click OK, and then click OK in the message that is displayed.</li> Click Apply, and then click OK.</li> Set the priority of the exclusion policy so it is higher than any other mailbox manager policies that the excluded mailboxes are included in. To set the priority, right-click on the policy, point to All Tasks, and then click either Move up or Move down.</li> Right-click the new policy in Exchange System Manager, and then click Apply this policy now.</li></ol>

You can use other Lightweight Directory Access Protocol (LDAP) filters; the LDAP filters in the preceding procedure are examples. You can also construct your own filters from the optional fields that are provided in the Find Exchange Recipients dialog box. For more information about LDAP queries and recipient policies, click the following article numbers to view the articles in the Microsoft Knowledge Base:

255602 Browsing and querying using the LDP utility

224543 Using Ldp.exe to find data in the Active Directory

249299 How to configure recipient policies in Exchange

How to Exclude a Single User from Mailbox Manager
The following steps require you use ADSI Edit to modify the value for a user attribute. ADSI Edit is included in the Microsoft Windows 2000 Support Tools. For more information about Windows 2000 Support Tools, click the following article number to view the article in the Microsoft Knowledge Base:

301423 How to install the Windows 2000 Support Tools to a Windows 2000 Server-based computer

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.

The attribute you are to modify is msExchPoliciesExcluded and the value is {3B6813EC-CE89-42BA-9442-D87D4AA30DBC}.

Use ADSI Edit to Add the Attribute
<ol> Start ADSI Edit. To do so, click Start, point to Programs, point to Windows 2000 Support Tools, click Tools, and then click ADSI Edit.</li> Expand the domain naming context, and then locate the user that you want to exclude from Mailbox Manager.</li> Right-click the user, and then click Properties.</li> In the Select a property to view drop-down box, select msExchPoliciesExcluded.</li> In the Edit Attribute space, type the following attribute value:

{3B6813EC-CE89-42BA-9442-D87D4AA30DBC}

NOTE: Make sure that you include the braces ({}) characters.</li> <li>Click the Add button.</li> <li>Click the Apply button or the OK button.</li></ol>

Once saved, the change takes effect shortly. The Recipient Update Service must process the object before the mailbox is excluded from Mailbox Manager.

Use ADSI Edit to Remove the Attribute
To undo the change and include the mailbox in Mailbox Manager, you can use ADSI Edit to remove the attribute from the user object. To do so:
 * 1) Start ADSI Edit. To do so, click Start, point to Programs, point to Windows 2000 Support Tools, click Tools, and then click ADSI Edit.
 * 2) Expand the domain naming context, and then locate the user that you want to exclude from Mailbox Manager.
 * 3) Right-click the user, and then click Properties.
 * 4) In the Select a property to view drop-down box, select msExchPoliciesExcluded.
 * 5) In the Value(s) box, click the {3B6813EC-CE89-42BA-9442-D87D4AA30DBC} value to highlight it.
 * 6) Click the Remove button.
 * 7) Click the Apply button, or the OK button.

Once saved, the change takes effect shortly. The Recipient Update Service must process the object before the mailbox is included in Mailbox Manager.

Additional query words: XADM RFC 2254

Keywords: kbinfo KB288115

-

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

© Microsoft Corporation. All rights reserved.