Zimbra anyone?

I used to work in an environment that required a great deal of attention to the maildrops within the infrastructure… Not a big deal aside from the fact that I knew nothing about Zimbra…. LOL (go figure right) or really anything about mail on this scale. I think they had somewhere in the neighborhood of 3+ million users. So in lieu of actually learning anything, (really it was a time issue, I just had to know what to do) I was able to compile a bunch of useful one-liners to tell me everything I needed to know, on demand. So here it is, for anyone who uses Zimbra, I found this to be an invaluable asset, especially @ 3:00AM, being awakened from a dead sleep to solve space issues on maildrops in less than 15 minutes (the SLA, a-holes…). basically this loops though all the maildrops and prints the output on-screen showing the current new user creation MD (so that you don’t move more users there) and specifics about each MD that would allow you to best choose where to move users. Possibly a space allocation in the contract would have resolved this issue (who the hell has unlimited space for emails?), but hey anything for the sale right? F’ing morons… Suffice it to say that I (well the entire team) spent a great deal of time deciding where to move users because there was no more disk space available… on a daily basis. LOL… I sure don’t miss those calls…

Legend:

sortaroot = a created user account with elevated access and rsa keys for looping purposes.