We are using custom signatures for ClamAV database to ban some types of files when they're attached to one email.
This it's done using clamd and clamassassin with procmail.
We're looking to add a rule in our custom rules for ClamAV to ban emails which have excel/word/powerpoint documents with macros.