GWAVA can block messages that have certain attachments. These attachments can be renamed to have different extensions but the file itself still knows what type of file it is.