Solved

setting up auto purge of Deleted items folder

Posted on 2010-09-22
8
580 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
 
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
Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

 

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

If you don't know how to downgrade, my instructions below should be helpful.
Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this video we show how to create an email address policy 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 Mail Flow…

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now