Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I block attachments based on the file extension?

0
Posted

How do I block attachments based on the file extension?

0

From version 2.0, ORF supports using simple wildcarded masks for the attachment filtering (e.g. *.exe), but you may still find the regular expression support of the attachment filtering of ORF useful. Assuming that you want to block ZIP attachments, the regular expression you need is .*\.zip$. This expression means “zero or more arbitrary characters (.*) followed by a dot character (\.) and the “zip” sequence”. The $ character anchors the expression, so no characters are accepted after the “p” character. If you do not add the $ anchor, my.current.zip.code.txt will also be blocked. Start the ORF Administration Tool, select Configuration / Filtering On Arrival / Attachment filtering. Click New and set the Filter by attachment name checkbox. Select Regular expression (Perl-compatible) and enter .*\.zip$. Select what should ORF do with the attachment (Filter Properties tab), optionally assign a comment to the filter and click Ok. Using regular expression you can specify more than one exten

0

From version 2.0, ORF supports using simple wildcarded masks for the attachment filtering (e.g. *.exe), but you may still find the regular expression support of the attachment filtering of ORF useful. Assuming that you want to block ZIP attachments, the regular expression you need is .*\.zip$. This expression means “zero or more arbitrary characters (.*) followed by a dot character (\.) and the “zip” sequence”. The $ character anchors the expression, so no characters are accepted after the “p” character. If you do not add the $ anchor, my.current.zip.code.txt will also be blocked. Start the ORF Administration Tool, select Configuration / Filtering ?On Arrival / Attachment filtering. Click New and set the Filter by attachment name checkbox. Select Regular expression (Perl-compatible) and enter .*\.zip$. Select what should ORF do with the attachment (Filter Properties tab), optionally assign a comment to the filter and click Ok. Using regular expression you can specify more than one exte

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123