User Tools

Site Tools


scripts:zimbra:mailbox-sizes.sh
mailbox-sizes.sh
# Get list of mail accounts and find their size
for i in $(sudo -E -u zimbra /opt/zimbra/bin/zmprov -l gaa | sort)
do
echo -n "$i - "
# Get mailbox sizes
sudo -E -u zimbra /opt/zimbra/bin/zmmailbox -z -m $i gms
done
/var/www/vhost/www.fuhell.com/data/pages/scripts/zimbra/mailbox-sizes.sh.txt · Last modified: 2014/09/01 15:00 (external edit)