Exchange 2007 rules to clean out email for user mailboxes

I am looking to delete all unread email in the inbox over 6 months old and all items in the deleted folder over 3 months old.  I need to make sure this is precise so I would like to test it on mailbox XY.

What steps do I need to take to make this happen and test it on one mailbox?
Sean MeyerIT DirectorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joseph DalyCommented:
You can come really close with the managed content settings available in exchange 2007. I know for sure you can definitely do the 3 month deleted items and the 6 month inbox items. The only problem I can find is there is no distinction in the rules for read vs unread messages.

These managed content settings can be applied to an individual mailbox for testing as well.

The process is fairly simple -- xxdcmast already started you off.

Exchange Management Console / Organization Configuration / Mailbox / Managed Default Folders
Make new content settings for the Inbox and Deleted Items folders, as indicated above
Switch to the Managed Folder Mailbox Policies tab and make a new policy. Add the two folders - Inbox and Deleted Items - you set the content policy on earlier.
Assign the policy to a user by going to their mailbox in Recipient Configuration, drilling down through the properties to Mailbox Settings / Messaging Records Management.

If you have never used managed content settings before, you will need to configure the Managed Folder Assistant. This is almost like a scheduled task (but executed internally by Exchange) which runs during set hours and processes mailboxes and sorts out their email per your policies. The schedule is set on the mailbox server's properties, under Server Configuration / Mailbox.

Do be aware that you might not see the effects immediately - if you use "When item is moved to folder" in the policy then it won't actually do anything, even on the oldest messages, until X number of days AFTER the period of time defined in the policy. You can see why here:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.