Zimbra log sorter

Hello all!

First of all, I would like to thank this wonderful community. I've been using Zimbra for quite some time now, and I didn't need to post a single question simply because all the solutions I needed were present either on the wiki or on the forums. You guys are awesome!

Ok, now the Zimbra log sorter (Link Below). I've written this script that sorts the Zimbra logs and make it a little more easy on the eyes. It groups the logs by the message-ID, and outputs them in a clear, defined block. You can even filter out the messages via regular expressions. I've tested it on Zimbra 6 and 7, and it seems to work fine.

Since it's my first python script, any critique by python-experts would be welcome. Just be little forgiving..

EDIT: I've changed the script, and now the latest version can be found here: