cari - cari how to see ukuran inbox per email di zimbra, ternyata ada di wiki.
inilah dia, easy command :
untuk all account bisa gunakan ini :
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 ;
untuk per user kita bisa gunakan contoh ini :
#su – zimbra
# zmprov gmi testuser@example.com -> To check User mailbox Size information in detail. This command show every Directory size and count of message like inbox, trash, Junk, draft and
1. $zmmailbox -z -m testuser@example.com gms # show only mailbox size
2. $zmmailbox -z -m testuser@example.com gaf #show specific directory size in detail
Here : Zmmailbox is zimbra command, -z -m is switch, testuser is your user account name, example.com is your Domain Name
gms – get mailbox size
gaf – get all file.
cortesy of
https://dilliganesh.wordpress.com/2014/05/30/how-to-check-mailbox-size-of-all-accounts-in-zimbra/
and
Zimbra wiki