how to check size of zimbra mail accounts from terminal

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 ;

Leave a comment

Your email address will not be published.