How to Show Mailbox Size on Zimbra via Command Line

Share this Article :

Q. How to show user mailbox size on zimbra via command line ?

A. please issue the following command to show only the mailbox size on zimbra.

1. Display all users :

$ zmprov gqu `zmhostname`|awk {'print " "$3" "$2" "$1'}

Output :

 384289 0 [email protected]
 222445 0 [email protected]
 25568 0 [email protected]
 0 0 [email protected]
 0 0 [email protected]
 0 0 [email protected]
 0 0 [email protected]

2. To find the mailbox size for [email protected] :

$ zmmailbox -z -m [email protected] gms

Output :

375.28 KB

Leave a Reply