Results 1 to 2 of 2

Thread: Script to report per-folder storage usage for a user

  1. #1
    Join Date
    Apr 2008
    New Paltz, NY
    Rep Power

    Default Script to report per-folder storage usage for a user

    Hi all,

    I've had the repeated problem of users not knowing where their storage is really being used. When a user has 100+ folders/subfolders, telling them to mouse over each one to find which is taking a lot of space is not the best solution. I created this the attached script for this.

    It will take as an argument a specific username. It currently assumes that there is only one domain name (this will be modified later if there is interest).

    ex: chauvetp

    It will print a list of all folders the user has over 10MB in size. Example output:

    Inbox -- total size of folder: 119 MB, in 753 messages
    Sent -- total size of folder: 76 MB, in 1774 messages
    Trash -- total size of folder: 50 MB, in 1041 messages

    Its a work in progress and isn't the neatest program in the world but does the job I needed it to. I figured others might benefit from it. If you have questions or suggestions, please let me know.

    • Must be run on the Zimbra server
    • Python 2.4 or later
    • Python's MySQL & LDAP libraries
    Attached Files Attached Files
    Paul Chauvet
    State University of New York at New Paltz

  2. #2
    Join Date
    Jul 2007
    Rep Power


    very handy

Similar Threads

  1. [SOLVED] Zimbra 7.0.1 Database Issue after upgrade
    By n.bochev in forum Administrators
    Replies: 3
    Last Post: 03-16-2011, 01:07 AM
  2. .pst migration issues
    By jimklein in forum Migration
    Replies: 13
    Last Post: 02-16-2009, 12:55 AM
  3. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 AM
  4. Replies: 2
    Last Post: 02-12-2008, 10:55 AM
  5. Replies: 3
    Last Post: 08-11-2007, 12:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts