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.
mime-header-group name group-name [ smtp | pop3 | imap ] action { alert | block | declare }
undo mime-header-group { name group-name [ smtp | pop3 | imap ] | all }
| 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. | - |
# 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