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”
set spam-filtering enable
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.
Having trouble configuring your Fortinet hardware or have some questions you need answered? Ask your questions in the comments below!!! Want someone else to deal with it for you? Get some consulting from Fortinet GURU!
Don't Forget To Buy Your Fortinet Hardware From The Fortinet GURU