Solved

setting up auto purge of Deleted items folder

Posted on 2010-09-22
8
592 Views
Last Modified: 2012-05-10
I have Exchange 2007 SP1 RU10
I am trying to set up an automatic purge of the Deleted items folder.
I have done all the steps outlined in this document
http://www.exchange-genie.com/2007/11/managed-folder-policies/

But still nothing is occurring. There are no errors in the event log and no documents have been removed from the Deleted items folder. This is beginning to be a problem as we have been using Exchange for almost a year and deleted items folders are getting huge. (I did not want to overburden the server so I started my retention time to 250 days with the intention to slowly bring it down to the desired 30 days)

Does anyone have an idea as to what my problem is or a setting I can increase the logging so I can see some errors?
0
Comment
Question by:swfwmd2
  • 5
  • 3
8 Comments
 
LVL 32

Expert Comment

by:endital1097
ID: 33736859
first create a new managed default folder called "Deleted Items - 250 days"
then create a new managed content setting for that folder called "Purge after 250 days" using all mailbox content, length = 250 days, when delivered, and action = permanently delete
then create a managed folder mailbox policy and add the "Deleted Items - 250 days" folder
assign the policy to mailboxes

go to properties for the mailbox server
enable a schedule for the managed folder assistant
0
 

Author Comment

by:swfwmd2
ID: 33737591
I have done all that except that I selected the action = delete and allow recovery since I want to be able to have users select toos\recover deleted items for another 15 days. This would give me a 45 day, two step process for user mail document retention.

I also did the last step to asign the policy to the user's mail file.

Still get no action
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33737640
did you enable a schedule on the mailbox server
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 32

Expert Comment

by:endital1097
ID: 33737688
post the results from the following (update names where needed
Get-ManagedFolderMailboxPolicy
Get-ManagedContentSettings | where { $_.managedfoldername -eq "Deleted Items - 250 days" } | fl
Get-mailboxserver | fl name,mana*
0
 

Author Comment

by:swfwmd2
ID: 33737956
The shell commands you offered were very helpful. I was able to get some good information on the first and third entry, but not one the second (even after updating the name).

Per your suggestion, I checked the schedule again and I had set it to show 15 min intervals and set it that way and nothing happened. When I changed the setting to an hour and seleted a time, it worked.

Is this normal for it not to run on a 15 min interval?
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33737992
it should be run during non-business hours because it is an intensive process (15 minutes is not enough)
0
 

Author Comment

by:swfwmd2
ID: 33742970
I was running this on only a couple of test mail files to verify the procedure. Sso when it did run successfully it took less than 15 min.

Additional testing has found that the start time is not an issue. The problem is what I select for the field "Retention period starts" in the content settings. If I keep it at the default of "When delivered, end date for calendar and recurring tasks", everything works fine. But when I change it to " When item is moved to the folder" (which is what I want), then nothing occurs. Even when I change the retention period way down to 30 days, there is no action.
So here is my questions -
1. Why can't I select the option for the retention period to start "when item is moved to the folder" to remove emails from the Deleted Items folder?
2. Is there a logging setting I can set to see this purge task start and stop in the Event log? Currently the only way I know it has run is that the count in my deleted items goes down,

Thank you,
0
 
LVL 32

Accepted Solution

by:
endital1097 earned 500 total points
ID: 33743845
1. best practice is to use "when delivered" it is very difficult to validate a policy that uses "when moved"
2. you can increase logging for the managemnet assistants
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question