< Home

recv-mail attachment max-size enable

Function

The recv-mail attachment max-size enable command enables mail filtering by attachment size in the receiving direction.

The undo recv-mail attachment max-size enable command disables mail filtering by attachment size in the receiving direction.

Format

recv-mail attachment max-size enable

undo recv-mail attachment max-size enable

Parameters

None

Views

Mail filtering profile view

Default Level

2: Configuration level

Usage Guidelines

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 enable command enables mail filtering by attachment size in the receiving direction.

By default, mail filtering by attachment size in the receiving direction is disabled. After you create a mail filtering view, mail filtering by attachment size in the receiving direction is automatically enabled.

Example

# Enable mail filtering by attachment size in the receiving direction.

<sysname> system-view
[sysname] profile type mail-filter name abc
[sysname-profile-mail-filter-abc] recv-mail attachment max-size enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >