< Home

mime-header-group (mail filtering profile view)

Function

The mime-header-group command sets the action for the specified MIME header group in a mail filtering profile.

The undo mime-header-group command cancels the setting.

Format

mime-header-group name group-name [ smtp | pop3 | imap ] action { alert | block | declare }

undo mime-header-group { name group-name [ smtp | pop3 | imap ] | all }

Parameters

Parameter Description Value
name group-name Specifies the name of a MIME header group. The specified MIME header group must already exist.
[ smtp | pop3 | imap ] Indicates the protocol for which the action is taken. If no protocol is specified, the action is taken for both the SMTP, POP3, and IMAP protocols.

-

alert Indicates the alert action.

-

block Indicates the block action.

-

declare Indicates the declare action.

-

all Indicates all MIME header groups.

-

Views

Mail filtering profile view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# In the mail filtering profile, set the action for MIME header group mime_group to block which takes effect on both the SMTP, POP3, and IMAP protocols.

<sysname> system-view
[sysname] profile type mail-filter name abc
[sysname-profile-mail-filter-abc] mime-header-group name mime_group action block
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >