< Home

recv-mail sender group

Function

The recv-mail sender group command specifies the mail address group for sender-address-based mail filtering in the receiving direction.

The undo recv-mail sender group command cancels the reference to a mail address group.

Format

recv-mail sender group name group-name

undo recv-mail sender group { all | name group-name }

Parameters

Parameter Description Value
name group-name

Specifies the name of a mail address group.

The mail address group must exist.

all

Deletes all referenced mail address groups.

-

Views

Mail filtering profile view

Default Level

2: Configuration level

Usage Guidelines

Upon detecting an email encapsulated in POP3 or IMAP, the FW checks the address of the email. Both the sender addresses and receiver addresses of the email can be used as the filtering condition. You can use the recv-mail sender group command to specify the mail address group for sender-address-based mail filtering in the receiving direction.

You can repeat the recv-mail sender group command to reference multiple mail address groups in the same mail filtering profile.

Example

# Reference mail address group sendergroup for sender-address-based mail filtering in the receiving direction.

<sysname> system-view
[sysname] profile type mail-filter name abc
[sysname-profile-mail-filter-abc] recv-mail sender group name sendergroup
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >