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.


>
EXPERT RESPONSE
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

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


    RELATED CONTENT
    Microsoft Exchange Server 2003
    Configure SMTP connection limits in Exchange Server 2003 and SBS
    Setting up email disclaimers and signatures in Exchange Server
    Repairing damaged OWA virtual directories in Exchange Server 2003
    Configure a mobile device to receive POP3 email from Exchange Server
    Customizing an Outlook Web Access 2003 email signature
    Why Exchange ActiveSync fails with NAT firewalls
    Is it time to upgrade users' Windows Mobile devices?
    Top 10 Microsoft Exchange Server 2003 registry hacks
    Use Performance Monitor to detect Exchange 2003 message queue problems
    How to set up email disclaimers on a single, back-end Exchange server
    Microsoft Exchange Server 2003 Research

    Microsoft Exchange Server Performance
    Use Performance Monitor to detect Exchange 2003 message queue problems
    Improve Exchange 2003 Internet connectivity, mail flow and performance
    Solve server problems with the Exchange Troubleshooting Assistant tool
    Windows hot-add memory hurts Exchange Server performance
    How to use SMTP queues to troubleshoot mail flow
    Performance problems with Microsoft Outlook 2007 .PST and .OST files
    Running Exchange Server and other server applications on the same hardware
    Process, compress and block Microsoft Outlook email attachments
    Changing the Exchange Server local delivery queue directory
    Stress test Exchange Server (32-bit and 64-bit) with Exchange Load Generator

    LDAP
    Access contacts in an LDAP or X.500 directory from OWA
    How Exchange Server performs Active Directory LDAP queries
    Troubleshoot Microsoft Outlook offline address books (.OAB files) with the OABInteg tool
    Troubleshooting Exchange replication with REPADMIN
    Tool diagnoses Active Directory schema problems
    Exchange Admin 101: Exchange Server communication ports
    ActiveSync and front-end DNS aliases
    A primer on messaging standards: NNTP, X.400 and LDAP
    SMTP domain and e-mail address setup
    Is Exchange listening?

    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



    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

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

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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