- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2015 01:57 PM
Hello,
I am looking to block inbound attachments that contain any type of Java file, and I am looking to use the "Java" file type as opposed to a regex statement that matches every file type:
- .java
- .jar
- .js
- .jsx
- .jse
- .job
I've looked in the manual, it does not specify. Does anyone know if using this file type includes all these file extensions? Thanks!
Solved! Go to Solution.
- Labels:
-
Email Security
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2015 04:51 PM
Hello Daniel,
For the list of supported 'filetypes' which the ESA should be able to identify is when you click on attachment-filetypes on the content filter, the drop down would give a general classification as well as the list of supported extension.
If you do not see the extension within the list here, then the suggested workaround is to use regex matching for the extension file names.
attachment file info -> filename -> contains -> (?i)(\.(java|jar|js|jsx|jse|job))
Regards,
Matthew

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2015 04:51 PM
Hello Daniel,
For the list of supported 'filetypes' which the ESA should be able to identify is when you click on attachment-filetypes on the content filter, the drop down would give a general classification as well as the list of supported extension.
If you do not see the extension within the list here, then the suggested workaround is to use regex matching for the extension file names.
attachment file info -> filename -> contains -> (?i)(\.(java|jar|js|jsx|jse|job))
Regards,
Matthew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2015 07:38 AM
Thank you for the reply. Does the use of regex to match multiple file types tax the device more than using file types?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2015 04:54 PM
Hello Daniel,
I've never really noticed any issues with the filter rule provided above for lab tests as well as recommendations to other users (this is the type of filter syntax i'd suggest over running multiple single conditions).
But if the regex syntax is overly complex and will be done on ALL emails, then yes usually it would tax more resources, but this syntax is very simple so it should be fine.
Regards,
Matthew
