Skip to main content
My preferencesSign out
Proofpoint, Inc.

How to create a filter to block specific extensions

Situation You want to create a filter rule for specific extensions and/or filenames and block them from end users.
Solution Follow the below steps to create a new Inbound or Outbound filter to filter specific extensions.

Review on filters


Consider reviewing these articles for a more broad view on our filters:

 Please note that this is not to be confused with the pre-defined filter libraries, which scans for mime/types as well. This is to create a filter based off an extension. This process, you can specifically create a filter to block, like a *.dll file.

How to create a filter to block a specific Extension

Follow these steps to create the filter.

  1. Navigate to Security Settings > Email > Filter Policies.
  2. Click Inbound or Outbound depending on which direction you wish to block.
  3. For Filter Name, enter an appropriate name.
  4. Ensure the Direction dropdown has the desired option selected.
  5. Click Continue.
  6. From the Scope drowdown, select the desired option (i.e. Company or specific users/groups).
  7. For If, select Attachment Name.
  8. For the next operator, select IS.
  9. In the Text Box, input the file extension name you want to block.
    1. Examples to block all zip files: *.zip, *.7z, *.rar
    2. Block pictures: *.jpg, *.jpeg, *.png
  10. From the Do dropdown, select Quarantine.

To create an Allow condition in the place of Quarantine choose Allow. 

11. You can optionally add in the section to Stop processing additional filters.

12. Click Save.

After you click Save, the filter will be enabled and you will return to the filters page. You will see a note confirming Filter added.