< Home

mail-address-group copy

Function

The mail-address-group copy command clones an existing mail address group and displays the view of the new mail address group.

Format

mail-address-group copy old-name [ new-name ]

Parameters

Parameter Description Value
old-name Specifies the name of the mail address group to be cloned. The mail address group must exist.
new-name Specifies the name of the new mail address group. The value is a case-sensitive string. If the name does not contain any spaces, the value contains 1 to 32 characters. If the name contains spaces, the value contains 3 to 34 characters and must be enclosed with double quotation marks, for example, "user for test". The name cannot contain any question marks (?), commas (,), quotation marks ("), or hyphens (-).

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If you need to create a mail address group that is similar to an existing one, clone the existing mail address group and make the desired modifications.

If new-name is not specified, the default name of the new mail address group is old-name_n. n indicates the number of times the group has been cloned. It is an integer starting from 1.

Example

# Clone mail address group mail_group_research to create a new mail address group.

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