< Home

send-mail attachment max-size enable

Function

The send-mail attachment max-size enable command enables mail filtering by attachment size in the sending direction.

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

Format

send-mail attachment max-size enable

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

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

Example

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

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