how to check size of zimbra mail accounts from terminal

by

in ,

The most easy way to see the size of all zimbra mailboxes is to ssh into your zimbra server and type the following:

$ su - zimbra
$ all_accounts=zmprov -l gaa; for account in $all_accounts; do mbox_size=zmmailbox -z -m $account gms; echo "Mailbox size of $account = $mbox_size"; done ;


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *