| Troubleshooting which Mailbox Manager policies are being applied. |
|
|
|
|
In this article I’m going to cover how you can use LDP to determine which Mailbox Manager policies are being applied to a user’s mailbox. I’ve had to do this before when it was found that the wrong Mailbox Manager policy was being applied. I’m going to cover some background Mailbox Manager information first which you may already be aware of, but I felt this necessary to set the scene and also for article completeness.
Let’s look at an example where two mailbox manager policies have been created within an Exchange organization. Here we’ll use really simple policy examples to explain the troubleshooting process. Imagine there is a default policy that cleans the Inbox folder of messages that are greater than 50KB, which will be applied to all users. Now imagine another separate policy that cleans the Inbox folder of messages that are greater than 100KB. The intention is to apply the latter policy to members of the Managers group, since they have a higher mailbox and message size limit. We’ll cover more about how this policy has been applied to the Managers group later on in this article, since this is actually the reason why the polices are not being applied correctly. Figure 1 shows you how the Mailbox Manager – Inbox >100KB policy looks. The default policy has the same configuration, except that the Size value has been set to 50 instead of 100.
You may remember from your reading that recipient policies are applied in priority order with priority 1 being the highest. The default recipient policy has a priority value of Lowest, meaning it’s evaluated last. Once a match is made, no further processing is performed; only a single policy can be applied. For example, if the policy Mailbox Manager – Inbox >100KB has a priority of 1 and the policy Mailbox Manager – Inbox >50KB has a priority of 2, any user that matches the filter rules applied to the Mailbox Manager – Inbox >100KB policy will not therefore have messages greater than 50KB but less than 100KB cleaned from their Inbox folders. In other words, the Mailbox Manager – Inbox >50KB policy would not be applied to these users. Figure 2 shows how our two policies will look in Exchange System Manager.
You’ll note from Figure 1 that the policies are configured to move the affected messages to the Deleted Items folder as well as sending an informative message to the affected users. The last piece of the jigsaw is to configure the processing schedule for the mailbox manager and send a report to the administrator once the processing has taken place. This is configured on the Mailbox Management tab of the properties of the server object in Exchange System Manager as shown in Figure 3.
There are two users within this organization, namely User1 and User2. User1 is a normal user and we therefore expect their Inbox to be cleaned of messages greater than 50KB. User2 is a member of the Managers group, so we therefore expect their Inbox to be cleaned of messages greater than 100KB. User2 currently has three unread messages in the Inbox, namely a message with a 2MB log file attached, another message with a 95KB zip file attached and finally a small 1KB message with no attachment. What happens when the mailbox manager process next runs overnight? User2, the Manager, logs in the next morning via Outlook Web Access to see the screen shown below in Figure 4.
As you can see, the message from the System Attendant informs User2 that messages greater than 50KB have been moved to the Deleted Items folder. Why is this? User2 is a member of the Managers group so only messages greater than 100KB should have been moved. Obviously the wrong policy is being applied and below I detail a method for confirming which policy is actually taking effect. Admittedly in my example, things are somewhat simple but the principles are the same. The method below uses LDP.EXE. You can find LDP.EXE in the Windows 2003 Support Tools, found on the Windows 2003 CD in the \Support\Tools folder. Here’s how to use LDP to confirm which mailbox manager policy is being applied to a mailbox.
Of course, the question in this particular scenario was why the default policy was being applied in the first place. As it turns out, the answer was simple: the filter rules for the Mailbox Manager – Inbox > 100KB policy weren’t constructed using the distinguished name of the Managers group, something that is sometimes overlooked. In other words, to correctly apply a policy to a group, you must ensure that you reference the full distinguished name of the group and not just type in, say, the display name of the group such as ‘Managers’ in this example. Therefore, in my example, the filter rule would state that the user’s Member Of attribute must exactly match the following distinguished name: CN=Managers,OU=Exchange Users,DC=ngh,DC=net Figure 9 shows how things look when using the distinguished name within the filter rules.
Once changed, the policy can be applied and LDP used to re-check the msExchPoliciesIncluded attribute for User2. The result is shown below in Figure 10 where you can see that the highlighted text now contains the objectGUID of the correct Mailbox Manager policy.
SummaryTroubleshooting policy application can and should be achieved by examining the filter that has been applied. It can also be beneficial to confirm which policy Exchange is applying by examining the various attributes via LDP as outlined within this article. |
| < Prev | Next > |
|---|


















