The send-mail attachment max-amount action command sets the maximum number of attachments allowed in an email to be sent and configures the action to take if the attachments exceed the allowed limit.
The undo send-mail attachment max-amount command restores the default configuration.
send-mail attachment max-amount max-amount action { alert | block }
undo send-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 SMTP, the FW performs filtering on the email by size and number of attachments in the sending direction.
Mail attachment control controls the size and number of attachments to prevent information leaks.
The send-mail attachment max-amount action command sets the maximum number of attachments allowed in an email to be sent and configures the action to take if the attachments exceed the allowed limit.