Technical Tip: How to remove specific File Extension and deliver the mail to user mailbox
| Description | This article describes how to remove specific File Extensions and deliver the mail to the user's mailbox. |
| Scope | FortiMail. |
| Solution | By default, .wmz is included in the executable_windows file filter, as it can contain embedded scripting (such as JavaScript) and is therefore classified as a potentially unsafe file type. Since the default content profile (CF_inbound) has the executable_windows file filter enabled, WMZ files are detected and the corresponding action is applied.
To remove .wmz attachments from all incoming emails while still delivering the message to the recipient:
This configuration ensures that only the wmz attachment is removed, since the action applies exclusively to this file filter.
Result 1.
Additionally, the action can be configured to deliver a modified copy to the original recipient while simultaneously sending the unmodified copy to the system quarantine for administrative review in the event of false positives.
Navigate to Profile -> Content -> Action -> New_Action _Profile -> Edit -> Enable 'Deliver to Original Host' -> Set the Final action to System Quarantine.
Navigate to Security -> Options -> Preference -> Choose the values.
Result 2.
|














