allow specific attacment types, block others

Unanswered Question
Mar 9th, 2009
User Badges:

I've been doing this with content filters and trying to add/remove headers as necessary.

We have an internal group that generates automated emails to clients. The problem is they are less than confident in the solution on their end, so they want the IP to do checking incase their solution barfs.

So, they want to allow attachments of (pdf|doc|docx) but that's it. A .txt or any other attachment should get blocked.

All works well when there is one attachment, but if there is a .eafsdf and a .pdf, the pdf causes it to pass. Doing a not (!) in front of the file types and setting the header value doesn't seem to work either (reminds me of the wireshark filters). I'm a little confused how to match a true on one file and a false on the other since I don't see how particularly the content filters are handling it.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
kluu_ironport Tue, 03/10/2009 - 23:59
User Badges:

Because you have a specific list (e.g. pdf, doc, docx), you may want to try to use the Content Filter action called "Strip Attachment by File Info".

That action allows you to specific by mime type, filename, filesize and filetype.

When testing this, you should probably create the outgoing content filter so that it looks for those parameters and only your email address so that it doesn't impact the other senders in your company.


This Discussion