Created
September 27, 2016 04:55
-
-
Save iomarmochtar/568b1c7fe899b9bdb5c994b3f64571d5 to your computer and use it in GitHub Desktop.
Demo script mendapatkan mailbox size pada kopdar python-ID Jogja 240916
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# based on: https://wiki.zimbra.com/wiki/Get_all_user%27s_mailbox_size_from_CLI | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment