My developers had a nice little script that took Email over imap, populated a database, then moved it to a /processed folder. That's fine for them, but it became a nightmare for me when it got to around 55 gig. I got approval to flush the folder but ....
root@mail:~# su - zimbra
zimbra@mail:~$ zmmailbox -z -m
cthulhu@madness.edu emptyFolder /processed
ERROR: remote.TIMEOUT (
https://mail.madness.edu:7071/service/admin/soap/) (cause: java.net.SocketTimeoutException Read timed out)
omg halp?