The send-mail attachment max-size action command sets the maximum allowed size of attachments allowed for an email to be sent and configures the action to take if the attachment size exceeds the allowed limit.
The undo send-mail attachment max-size command restores the default configuration.
send-mail attachment max-size max-size action { alert | block }
undo send-mail attachment max-size
| Parameter | Description | Value |
|---|---|---|
| max-size max-size | Specifies the maximum allowed attachment size. | The value is an integer ranging from 1 to 20480, in KB. The default value is 20480. |
| action | Indicates the action to take when the size of a single email attachment exceeds 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-size action command sets the maximum allowed size of attachments in an email to be sent and configures the action to take if the attachment size exceeds the allowed limit.