Stuff I wrote to help with Zimbra