Filter for particular file Extensions

Unanswered Question
Jul 31st, 2008

We just purchased an Ironport C150 and are in the process of testing it out and getting our setup completed, one of the things we want to do is reject incoming mail if an attachment has a certain file extension to it (ie, .bat but we have about 20 or so we want to reject). I can't seem to figure out how to get that accomplished and the documentation doesn't seem to help much, can anyone point me in the right direction to do this?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
cireland_ironport Fri, 08/01/2008 - 04:00

Go to the "Mail Policies" Tab, and drop down to "Incoming Content Filters".


On the "Incoming Content Filters" window, hit the "Add Filter" button.


Give the filter a name then hit the "Add Condition" button.


Drop down to "Attachment File Info" on the left hand side. You can add a condition based on Filename, but I recommend File Type. It's up to you.


Once you add the condition hit the "OK" button. * You can add multiple conditions / attachments if you'd like. Make sure "Apply Rule" drop down is set to "If one or more conditions match".


After you are done adding the conditions, hit the "Add Action" button.

On the "Add Action" window, drop down and select "Drop (Final Action)" or "Bounce (Final Action)" to reject the incoming emails based on the conditions you set. Then click the "OK" button.


Your new filter will be added, don't forget to submit and commit your changes!


whardiso Mon, 08/04/2008 - 20:15

( cireland: cool screenshots :) )


I just wanted to add for clarification, that you need to make sure that you apply the content filter to a mail policy.

For instance, if you want to block *inbound* attachment types, create the content filter as cireland described, and then browse to Mail Policies -> Incoming Mail Policies.

The mail policies screen is laid out similar to a spreadsheet. Click on the 'cell' under the Content Filters column for the policy to which you would like to apply this filter.

There, you can specify via checkboxes, which filters you want enabled for that policy.


jlwaller_ironport Thu, 08/14/2008 - 14:05

Also don't forget to apply it to a mail flow policy that the mail will actually apply to if using multiple mail flow policies.

The ironport will do a first match on mail flow policies, so if you have multiple policies setup and you want to block only for one of them, make sure you have your policies ordered properly so that it will apply it.


This Discussion