KB - Blocking attachments based on their file extensions

Blocking attachments based on their file extensions

Article was last updated on July 3, 2019. View products that this article applies to.
  1. Start the ORF Administration Tool and connect to the local or remote ORF instance
  2. Navigate to the Blacklists / Attachment Filtering page
  3. Click the New button and set the Filter by attachment name checkbox
  4. Select Regular expression (Perl-compatible) and enter the filtering expression.

    To block ZIP attachments, simply add

    .*\.zip$

    This will block all attached files ending with ".zip". You can also specify more than one extensions by a single expression. If you wish to block ZIP, EXE, COM and VBS attachments, enter an expression like

    .*\.(zip|exe|com|vbs)$
  5. Configure what should happen upon hit on Filter Properties tab. Optionally assign a comment to the filtering expression (recommended) and click OK.
  6. Save your settings to apply the changes by pressing Ctrl + S

Applies To

The article above applies to the following products and versions:

  • ORF 6.5
  • ORF 6.4
  • ORF 6.3
  • ORF 6.2.1
  • ORF 6.2
  • ORF 6.1.1
  • ORF 6.1
  • ORF 6.0.1
  • ORF 6.0
  • ORF 5.5.1
  • ORF 5.5
  • ORF 5.4.1
  • ORF 5.4
  • ORF 5.3
  • ORF 5.2
  • ORF 5.1
  • ORF 5.0
hnp1 | hnp2