File-type based filters
File-type based email filters can be used to filter out emails which are undesired due to a file-type attachment that the network admin qualifies as non-compatible with their business environment. The admin can define the undesired filetypes within the email filter profile and can associate an action to be taken for each file-type (for example: block or log).
To configure file-type email filtering in the CLI:
config emailfilter profile edit “myEmailFileFilter” config file-filter config entries edit “compressedFiles” set action block set file-type “7z” “rar” “zip”
next
end
end
set spam-filtering enable
next end
To configure file-type email filtering in the GUI:
- Go to Security Profiles > Email Filter.
- Enable File Filter.
- Customize which files are scanned (Log/Scan Archived Contents) or click Create New to add a new entry.