Home > Ask the Microsoft Exchange Experts > David Sengupta: Server Administration Questions & Answers > Setting age and size limits on users' Deleted Items folders
Ask The Exchange Expert: Questions & Answers
EMAIL THIS

Setting age and size limits on users' Deleted Items folders

David Sengupta EXPERT RESPONSE FROM: David Sengupta

Pose a Question
Other Exchange Categories
Meet all Exchange Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 25 July 2005
We have Exchange 2003 Service Pack 1 on Windows 2003. (It is fully patched but we have not installed Windows 2003 Service Pack 1 due to testing.)

In Exchange System Manager, I've set the global limits to keep deleted items for seven days and run the cleanup manager every day at 2 a.m. -- it is not working.

I tried setting up a recipient policy for mailbox management with the same parameters. I run this every Sunday morning at 2 a.m. It returns to me that x number of messages have been deleted and freed up y amount of space.

I go to users' deleted items folders and see items dating back to late 2003. I thought that maybe the recipient policy applies only from the date I created it. I checked a few users Deleted Items folders, and there are items there from three days to 300 days. Apparently, it is not working.

I don't know where Exchange is picking it up but I am at a complete loss.



Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Microsoft Exchange Server 2003
Remove Exchange 2003 objects from AD to install Exchange 2010
Leapfrogging from Exchange 2003 to Exchange 2010
Top 5 Exchange ActiveSync tips
Exchange Mailbag: POP3 settings and Outlook issues
Migrating to Exchange 2007 with correct permissions
Problems receiving email from outside a Exchange Server 2003 domain
Exchange admins: Is it time to rethink your email address policy?
Exchange Server 2003 collects email from only specific POP3 domains
Changing email address formats in Exchange Server 2003
Should you remove .STM files from Exchange Server 2003?
Microsoft Exchange Server 2003 Research

Microsoft Exchange Server Performance
Remove Exchange 2003 objects from AD to install Exchange 2010
Outlook 2007 shut-down problems and fixes
Is your Exchange 2007 hub transport server healthy?
OWA 2007 configuration tricks to boost performance
Pros and cons of Outlook 2007's storage engine redesign
Avoid Outlook 2007 performance issues during repairs
Monitor Exchange 2007 with disk- and RPC-related counters
Track Exchange 2007 mailbox server health using database counters
Monitoring Exchange 2007 Client Access Server role-specific counters
Exchange Performance Monitor tracks domain controller communication

David Sengupta: Server Administration
Changing email address formats in Exchange Server 2003
Should you remove .STM files from Exchange Server 2003?
Exchange users receiving email addressed to legacy users
Pushing a public calendar out from a private Exchange account
Import and export .PST files in Exchange Server 2007
Editing Exchange Server public folder permissions
Search and index Microsoft Outlook 2007 public folders
Troubleshooting Microsoft Exchange Server Event ID error 6009
Can't delete old Microsoft Outlook public folders
Can't create mailboxes after virtualizing Microsoft Exchange Server

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


VIEW MEMBER FEEDBACK TO THIS ASK THE EXPERT Q&A.

Great question! I'll start my response by explaining what happens to a message when it's deleted. First off, a user decides to click "delete" within Outlook, and the message is moved to the "Deleted Items" folder within the user's mailbox.

As you've found out, messages can sit in there for any length of time, until the user empties the Deleted Items folder or until the messages are individually deleted from there.

Once messages are deleted from the Deleted Items folder, they are moved into a hidden part of the Exchange database (really just in the mailbox but not viewable by the end user) called the "dumpster." The dumpster is configured through something called a "deleted item retention" interval. (There is also a "deleted mailbox retention" period that is not related to our current question.).

So the way I understand your question, you're trying to force user mailboxes' Deleted Items folders to be automatically purged on a regular basis, presumably in response to either a storage management or compliance related business need.

When you mentioned that you set the global limits to keep Deleted Items for seven days, you're really just configuring how long messages stay in the dumpster once they have been purged from the Deleted Items folder in a mailbox. This won't in any way affect messages that are currently sitting in people's Deleted Items folders.

You're on the right track using Mailbox Manager, which will do what you're trying to achieve. Since you're getting a success report back on your daily cleanup, here are two things to check.

  1. Use the "Find Now" button on the recipient policy to confirm that your LDAP query is actually returning mailboxes. I've seen cases where an incorrectly configured LDAP query does not find any mailboxes to apply the retention settings to.

  2. Make sure that the intersection of age limit and size limit that you have specified are in fact correct. For example, if you're setting an age limit of seven days and a size limit of 2 MB, you'll definitely end up with lots of old messages sitting around in users' Deleted Items folders, since most messages are (hopefully!) less than 2 MB in size.

If those ideas still don't help, I'd recommend having a good read through Microsoft Knowledge Base article 319188: How to use recipient policies to control mailboxes in Exchange 2000 and Exchange 2003 in order to ensure you haven't missed a step in your configuration. Hope that helps!

MEMBER FEEDBACK TO THIS ASK THE EXPERT Q&A:

We had exactly the same issue here. The recipient policy was set to empty the Deleted Items folder every 14 days, and a back-end mailbox system policy was also set to keep deleted items for 14 days.

The Mailbox Management Process only seemed to process a handful of mailboxes each time it ran. We tried extending the custom schedule period and checked the recipient policy to ensure that all users were included. Eventually we selected "Apply this policy now" and that's when it started processing all mailboxes.
—Derrick L.

Do you have comments on this Ask the Expert Q&A? Let us know.

Related information from SearchExchange.com:

  • Tip: Toolbox for Exchange administrators
  • Reference Center: Monitoring and performance



  • Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice



    Outlook Web Access (OWA) Tips and Advice
    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts