Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-19-2010, 04:15 PM
Junior Member
 
Posts: 8
Default Delete millions of messages in an inbox

While performing a hardware upgrade of one of our customers Zimbra systems, we have detected an Inbox with 3.8 million emails, and a size of 50GB.

What would be the most efficient method of deleting these emails?

Should I just delete the account, or can I delete messages at the OS level along with some SQL?

Suggestions and comments would be very appreciated.

Thanks!
__________________
MNX Solutions - Your Linux, UNIX and SAP Basis experts
Reply With Quote
  #2 (permalink)  
Old 01-19-2010, 05:33 PM
Moderator
 
Posts: 7,928
Default

This will empty the Inbox for the specified user
Code:
su - zimbra
zmmailbox -z -m account@domain emptyFolder /Inbox
__________________
Reply With Quote
  #3 (permalink)  
Old 01-19-2010, 06:03 PM
Junior Member
 
Posts: 8
Default

Thanks, I will give that a try next week and report back if I encounter any issues.
__________________
MNX Solutions - Your Linux, UNIX and SAP Basis experts
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.