Results 1 to 2 of 2

Thread: Find accounts exceeded mailbox quota

  1. #1
    Join Date
    Apr 2009
    Posts
    70
    Rep Power
    6

    Question Find accounts exceeded mailbox quota

    Hi all

    WE have a large mail Q because many of the users have their quota exceeded.
    How can i find all accounts in a domain with quota exceed inorder to put thme in closed mode (as per top level decision).

    please help. Please explain if there are any implications on changing the status of accoutns to closed till the user request to change the status.(suppose it takes more than a month)

  2. #2
    Join Date
    Feb 2008
    Location
    Urbana-Champaign, IL
    Posts
    68
    Rep Power
    7

    Default Script to get mailbox sizes

    Quote Originally Posted by tiarra View Post
    Hi all

    WE have a large mail Q because many of the users have their quota exceeded.
    How can i find all accounts in a domain with quota exceed inorder to put thme in closed mode (as per top level decision).

    please help. Please explain if there are any implications on changing the status of accoutns to closed till the user request to change the status.(suppose it takes more than a month)
    Here's a shell script that I use to get a nightly report on mailbox sizes. It should be enough to get you started.
    Note that this lists the overall quota for everything -- documents, briefcase, calendar, etc.

    In the future we plan on dumping this into a database nightly so that we can get usage over time or track large changes to accounts to help correlate with backup problems and stuff.

    Chris

    ---

    #!/bin/csh -f

    set tmpfile=`mktemp`
    foreach i (`/opt/zimbra/bin/zmprov gaa`)
    echo -n $i": " >> $tmpfile
    /opt/zimbra/bin/zmprov gmi $i | grep quota | awk '{print $NF}' >> $tmpfile
    end

    cat $tmpfile | awk '{print $2" "$1}' | sed 's/://' | sort -nr | nl -s': ' | mail -s "Zimbra mailbox sizes" admin@example.com

    rm -f $tmpfile

Similar Threads

  1. GUI mailbox quota no display
    By atlee in forum Administrators
    Replies: 0
    Last Post: 06-26-2009, 08:46 AM
  2. quota full + never logged in accounts
    By tiarra in forum Administrators
    Replies: 0
    Last Post: 06-22-2009, 01:32 AM
  3. quota & external accounts
    By sperkins in forum Administrators
    Replies: 7
    Last Post: 10-28-2008, 06:26 AM
  4. can't you help me
    By iwan siahaan in forum Administrators
    Replies: 6
    Last Post: 12-17-2007, 05:53 PM
  5. [SOLVED] Quota exceeded or Mailbox Full notice?
    By dwmtractor in forum Administrators
    Replies: 7
    Last Post: 09-21-2007, 11:59 AM

Posting Permissions

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