Solved

setting up auto purge of Deleted items folder

Posted on 2010-09-22
8
588 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

778 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