Deleted items retention policy not working
I have Exchange 2007 and am having trouble with retention policies. I have about 1000 users with deleted items that are not being purged. I have six mailbox databases totaling ~600GB. My deleted item retention policy set on each database is 14 days. I've started looking at database maint events but am not sure I'm on the right path. I've extended the schedule to give it more time. My clients are all Outlook 2007 and are in cached mode in case that might be part of my problem. Where should I start? --Patrick
October 2nd, 2010 1:56pm

How exactly are you setting the retention policy? Through Managed Folders? If you are setting it at the Limits tab of the database properties, then this will not purge the deleted items. This setting is for how long the items are still "recoverable" from the dumpster if a user deletes an email. "Deleted Item Retention Allows you to recover items after they have been removed from the Deleted Items folder or hard-deleted. You must configure the Exchange server for deleted items retention, and the item recovery must occur during the retention period. In Exchange 2007, the default retention period is 14 days. The actual recovery of the deleted items is done from the client." http://technet.microsoft.com/en-us/library/bb125266(EXCHG.80).aspxTim Harrington - Catapult Systems - http://HowDoUC.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
October 2nd, 2010 2:32pm

Tim is on point i.e., it sounds like you are confusing Deleted Item Retention which just allows a user to recover data via "Recover Deleted Items" within Outlook vs Managed Folders that will let you take action against content such as deleting items older then x. http://technet.microsoft.com/en-us/library/bb125163(EXCHG.80).aspx http://technet.microsoft.com/en-us/library/bb123507(EXCHG.80).aspx Troy Werelius www.Lucid8.com
October 2nd, 2010 2:49pm

Okay. I think I have it. From Organization Configuration > Mailbox > Managed Default Folders. I created a Managed Content Settings item for the Deleted Items folder. I set it to perm delete after 180 days for any mail item placed in the folder. It looks like this is a system wide settings. Is it possible to have a user or database exempt from this setting? Our CEO actually uses his deleted items folder as a normal folder for some stupid reason. --Patrick
Free Windows Admin Tool Kit Click here and download it now
October 2nd, 2010 6:12pm

You will actually apply Managed Folder Policies on a per-user basis. See link: http://technet.microsoft.com/en-us/library/aa996575(EXCHG.80).aspx If you wanted to apply to all users but one, you could do a: Get-Mailbox | Set-Mailbox -ManagedFolderPolicy "PoliciyName" Then go back and disable it for the one mailbox.Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.com
October 2nd, 2010 6:57pm

I now have a Managed Content Settings obleju assigned to the Deleted Items folder. I also have created a policy in the 'Managed Folder Mailbox Policies' that is also assigned to the deleted items folder. I have assigned that policy to my own mailbox. I set the schedule to run all day Saturday and Sunday. How do I know if it is running? Is there a way to force it to run manually? --Patrick
Free Windows Admin Tool Kit Click here and download it now
October 3rd, 2010 4:21pm

To run manually, from EMS run: Start-ManagedFolderAssistant Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.com
October 3rd, 2010 4:29pm

On Sun, 3 Oct 2010 20:18:26 +0000, Patrick Brown wrote: > > >I now have a Managed Content Settings obleju assigned to the Deleted Items folder. I also have created a policy in the 'Managed Folder Mailbox Policies' that is also assigned to the deleted items folder. I have assigned that policy to my own mailbox. I set the schedule to run all day Saturday and Sunday. > >How do I know if it is running? Enable MRM logging: http://technet.microsoft.com/en-us/library/bb397218(EXCHG.80).aspx >Is there a way to force it to run manually? Start-ManagedFolderAssistant --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
October 3rd, 2010 5:30pm

The new policy worked on my test mailbox. How do I go about assigning the policy to all my mailboxes? --Patrick
October 3rd, 2010 9:21pm

Found it -- Get-Mailbox | Set-Mailbox -ManagedFolderMailboxPolicy "Resource Mailbox Policy" --Patrick
Free Windows Admin Tool Kit Click here and download it now
October 3rd, 2010 9:26pm

One last thing - how do I set this policy as a default for newly created mailboxes. --Patrick
October 3rd, 2010 9:44pm

You can't by default. You can assign it at the time of mailbox creation or you could schedule a script to run that would assign the policy. Set the script to run every night. Good reference: http://www.expta.com/2010/07/how-to-apply-default-managed-folder.html Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
October 3rd, 2010 9:49pm

I'm having the same problem too. Please help. This is what I did: On Exchange 2007 server, I created Managed Content Settings on Deleted Items under Managed Default Folders tab. The settings are: Length of retention period (days)-30, Retention period starts: When items is moved to the folder, Action to take at the end of the retention period: Delete and Allow Recoery. Then I created a Managed Folder Mailbox Policies and add Deleted Items folder to it. Then I schduled the policy to run everyday (under Server Configuration, Mailbox, in the server's properties). I linked the policy to one testing mailbox in the mailbox properties, Mailbox Settings, Messaging Records Management. I also run Start-ManagedFolderAssistant in Exchange Management Shell. When I check the testing mailbox, emails are in Deleted Items folder are not deleted but marked they were modified at the time I run the Start-ManagedFolderAssistant command. Did I do something wrong? Please help. Thank you. Yu
October 20th, 2010 4:38pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics