< Home

recv-mail attachment max-amount enable

Function

The recv-mail attachment max-amount enable command enables mail filtering by number of attachments in the receiving direction.

The undo recv-mail attachment max-amount enable command disables mail filtering by number of attachments in the receiving direction.

Format

recv-mail attachment max-amount enable

undo recv-mail attachment max-amount 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 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 enable command enables mail filtering by number of attachments in the receiving direction.

By default, after a mail filtering profile is created, mail filtering by number of attachments in the receiving direction is enabled.

Example

# Enable mail filtering by number of attachments in the receiving direction.

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