The recv-mail attachment max-size action command sets the maximum attachment size allowed in a received email and configures the action for the email if the attachment size exceeds the allowed limit.
The undo recv-mail attachment max-size command restores the default configuration.
recv-mail attachment max-size max-size action { alert | block }
undo recv-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 POP3 or IMAP, the FW performs filtering on the email by size and number of attachments in the receiving direction.
Limiting the size of received emails prevents the transmission of undesired information, such as gambling and pornographic information on the intranet.
The recv-mail attachment max-size action command sets the maximum attachment size allowed in a received email and configures the action for the email if the attachment size exceeds the allowed limit.
The maximum size applies to a single attachment.