Technical Tip: How to specify how many attachments are allowed in one email message
Description
This article describes how to specify how many attachments are allowed in one email message.
Solution
1) Configure a new content profile (Profile -> Content -> Content).
2) In the new content profile, go to Scan Options and enable the feature 'Maximum number of attachments'. The valid range is between 1 and 100. The default value is 10.
3) In this example, only 2 attachments are allowed in one email message.


This article describes how to specify how many attachments are allowed in one email message.
Solution
1) Configure a new content profile (Profile -> Content -> Content).
2) In the new content profile, go to Scan Options and enable the feature 'Maximum number of attachments'. The valid range is between 1 and 100. The default value is 10.
3) In this example, only 2 attachments are allowed in one email message.

4) Apply the new content profile to policy and move this policy on top of existing policies.
5) A test email with more than 2 attachments will be processed.
Result.
The configured action taken by FortiMail will be visible with the below log message.
5) A test email with more than 2 attachments will be processed.
Result.
The configured action taken by FortiMail will be visible with the below log message.

