Not used this myself, but upon a quick glance, it looks useful.
In the past I used mailcleaner open source, but found it a bit hard to keep up to date and tweak.
We currently use, recommend and sell XWall which is extremely functional. It works with Microsoft Exchange (which most of our clients use).