Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Exchange server mailbox cleanup agent (how can you remove tombstoned emails?)

Posted on 2004-10-07
8
Medium Priority
?
1,442 Views
Last Modified: 2012-05-05
Hi,

We are having a little problem with Exchange Server 2000 on Windows Server 2000 where the sotre is nearing the 16GB limit. We have got all users to delete all unwanted emails, and even copied some to PST files. We then set a mailbox limit to 100mb per person. If you go through the list of mailboxes, and add everyone up, it comes to around 10GB, however, the size of the priv.edb is still nearing 16GB. We have also run both an online and offline defrag on the store, but it is still near 16GB. Do we have to run the cleanup agent to remove the emails yet again? If so, can this be one in working hours? Also, if we run the cleanup agent on the mailboxes, will we then have to do another offline defrag?

Thanks a lot,
Dan
0
Comment
Question by:DClayden
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 5

Expert Comment

by:Dhope
ID: 12246797
I've had the exact same problem (yesterday infact)

Details of my question are at
http://www.experts-exchange.com/Networking/Email_Groupware/Exchange_Server/Q_21158094.html

The thing that made the real difference for me was setting the deleted items retention period to 0 and allowing time for an online defrag (about 4 hours) before running the offline defrag.  This was because like you, I'd done a lot of work deleting and archiving mail, but Exchange was still keeping everything for 10 days, so my offline defrag didn't do anything first time around.

If you follow all the steps here
http://www.tek-tips.com/faqs.cfm?fid=3841

Before running the offline defrag look for event ID 1221 in you application log (after the online defrag is complete) and it will indicate roughly how much space is expected to be freed after an offline defrag.

You can also add a registry key to temporarily allow Exchange to run with more than 16GB - details at
http://support.microsoft.com/?id=828070

You will probably need to do an offline defrag to lower the EDB size, but you will at least be in a better position to know what to expect having gone through the steps above.  The other option is to upgrade to the Exchange Enterprise which removes the 16GB limit.

Good luck with it
0
 
LVL 20

Expert Comment

by:ikm7176
ID: 12246816
To maximize the amount of free space you will reclaim, follow the steps below prior to the defragmentation:

 a. Set deleted items retention to 0. This can be found by going to the properties of the mailbox store and the Limits tab "Keep deleted items for"
 b. Have users delete old items, empty their deleted items and/or move items to a pst file
 c. A cycle of online maintenance needs to be run following these deletions. On the properties of your Mailbox Store on the Database tab, hit the Customize button on Maintenance Interval and set to always (extend the green bar all the way)
 d. When online maintenance has started (it may take 30 minutes to start) and finished you will see informational events in your Application log in Event Viewer.

http://www.tek-tips.com/faqs.cfm?fid=3841

http://blogs.msdn.com/exchange/archive/2004/07/08/177574.aspx
0
 
LVL 1

Author Comment

by:DClayden
ID: 12246825
The event 1221 only shows 2mb of space will be freed. We done both the online and offline defrag, and still no luck. Is it the mailbox cleanup agent that we need to run? If so, can this be done it working hours?

Thanks,
Dan
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 5

Expert Comment

by:Dhope
ID: 12246855
The retention period is likely to be key

a. Set deleted items retention to 0. This can be found by going to the properties of the mailbox store and the Limits tab "Keep deleted items for"
0
 
LVL 5

Expert Comment

by:Dhope
ID: 12246857
You may also need to leave time for another online defrag and examine event 1221 once that is complete.

The process may take a few hours.  I changed the retention periods and had to wait 3 hours for the online defrag to complete, then I was able to run the offline after that.
0
 
LVL 1

Author Comment

by:DClayden
ID: 12246865
This was already set to 0. I am thinking the mailbox cleanup agent is the key?
0
 
LVL 20

Accepted Solution

by:
ikm7176 earned 1500 total points
ID: 12247025
Cleanup agent will mark all the deleted mailboxes. it will not delete the messages. It will facilitate to delete the mailboxes before the retention period is expired.

You can run the cleanup agent. The cleanup agent will mark all the deleted mailboxes. You can then purge all the marked mailboxes to delete all the mailboxe.
0
 
LVL 1

Author Comment

by:DClayden
ID: 12247133
I don't want to actually delete anyones mailbox, it's just we have deleted all email, set retension period to 0, ran an online and offline defrag, and the priv.edb is still not getting any smaller. Will this do the job then?
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
To show how to create a transport rule 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 >> Rules tab.:  To cr…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Suggested Courses

610 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