Attachments with no Extensions

Unanswered Question
Feb 19th, 2009
User Badges:

We have a requirement that any emails to a specific domain with certain attachments will be required to be blocked. The problem is, most of these attachments have no file extension. Anyone have a creative way to include this into an attachment rule? I also need to add pdf, doc, xls, etc.

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
kyerramr Fri, 02/20/2009 - 08:13
User Badges:

Hi madhour,

Could you provide with some examples as to what these attachments are and their file types. Your second part of the question should be achieved through content or message filters.

-Kishore

jwiegert1 Fri, 02/20/2009 - 15:27
User Badges:

They are pretty much text files that were created from our iSeries. They just don't have a file extension such as file2009.txt. They are just file2009. I have a rule to catch everything else, but just don't know how to catch non-extension files.

staylor_ironport Fri, 02/20/2009 - 15:46
User Badges:

Would it be possible to create a filter looking at the mimetype instead of filename. at least this way the filter will always recognize an attachment with or without the extension on the end. :D

Donald Nash Mon, 02/23/2009 - 18:46
User Badges:


They are pretty much text files that were created from our iSeries.  They just don't have a file extension such as file2009.txt.

Hmmm, you may be able to use a regular expression:

if (attachment-filename == "^[^.]+$")

That will match any filename that does not contain a dot.

if (attachment-filename == "^[^.]+\.$")

That will match any filename that ends with a dot.
jwiegert1 Mon, 02/23/2009 - 19:05
User Badges:

I took advise from a previous post and used attachment-mimetype == "application/*"

Donald Nash Mon, 02/23/2009 - 19:22
User Badges:


I took advise from a previous post and used attachment-mimetype == "application/*"


Yes, I saw that after I posted, since your note to that effect ended up in a separate topic.

Actions

This Discussion