The recv-mail attachment max-amount action command sets the maximum number of attachments allowed in a received email and configures the action for the email if the attachments exceed the specified limit.
The undo recv-mail attachment max-amount command restores the default configuration.
recv-mail attachment max-amount max-amount action { alert | block }
undo recv-mail attachment max-amount
| Parameter | Description | Value |
|---|---|---|
| max-amount max-amount | Specifies the maximum allowed number of attachments in an email. |
The value is an integer ranging from 0 to 10. The default value is 10. |
| action | Indicates the action for an email whose attachments exceed the allowed limit. |
alert: The FW permits the email and generates a log. block: The FW blocks the email. |
Upon detecting an email encapsulated in POP3 or IMAP, the FW performs filtering on the email by size and number of attachments in the receiving direction.
Limiting the number of attachments in the receiving direction prevents the transmission of undesired information, such as gambling and pornographic information on the intranet.
The recv-mail attachment max-amount action command sets the maximum number of attachments allowed in a received email and configures the action for those exceeding the specified limit.