< Home

mail-address-group

Function

The mail-address-group command creates a mail address group or displays the view of an existing mail address group.

The undo mail-address-group command deletes a mail address group.

Format

mail-address-group name group-name

undo mail-address-group { name group-name | all }

Parameters

Parameter Description Value
name group-name Specifies the name of a mail address group. The name is a case-sensitive string. The length of a name without spaces ranges from 1 to 32 characters. The length of a name with spaces ranges from 3 to 34 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "user for test"). Question marks (?), commas (,), quotations marks ("), and hyphens (-) cannot be used.
all Deletes all mail address groups. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You can add addresses that have the same sending or receiving permission to the same address group and use the address group as a filtering condition for mail address check. For example, if Jane and John in the Trust zone both have the mail sending permission, you can add the mail addresses of John and Jack to the same address group.

Example

# Create a mail address group mail_group_research.

<sysname> system-view
[sysname] mail-address-group name mail_group_research 
[sysname-mail-address-group-mail_group_research]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >