< Home

send-mail attachment max-amount enable

Function

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

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

Format

send-mail attachment max-amount enable

undo send-mail attachment max-amount enable

Parameters

None

Views

Mail filtering profile view

Default Level

2: Configuration level

Usage Guidelines

Upon detecting any email encapsulated in SMTP messages, the FW filters the email by the number and size of attachments in the sending direction.

Mail attachment control controls the size and number of attachments to prevent leaks of massive secret information. The send-mail attachment max-amount enable command enables mail filtering by number of attachments in the sending direction.

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

Example

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

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