The pattern command configures the matching mode for mail addresses. The value can be the prefix, suffix, exact, or keyword.
The undo pattern command deletes the matching mode for mail addresses.
pattern { any | exact | prefix | suffix } mail-address-text
undo pattern { all | mail-address-text }
| Parameter | Description | Value |
|---|---|---|
| any | Indicates any matching. A mail address is matched if it contains mail-address-text specified in the pattern. For example, if you configure a mail address pattern with content bcd@example.com, mail addresses that contain bcd@example.com, such as bcd@example.com, bcd@example.com.cn, and abcd@example.com, are matched. |
- |
| exact | Indicates exact matching. A mail address is matched only if it is the same as mail-address-text. For example, if you configure a mail address pattern with content bcd@example.com, only mail address bcd@example.com is matched. |
- |
| prefix | Indicates prefix matching. Mail addresses starting with mail-address-text are matched. For example, if you configure a mail address pattern with content bcd@example.com, mail addresses starting with bcd@example.com, such as bcd@example.com.cn, are matched. |
- |
| suffix | Indicates suffix matching. Mail addresses ending with mail-address-text are matched. For example, if you configure a mail address pattern with content bcd@example.com, mail addresses ending with bcd@example.com, such as abcd@example.com, are matched. |
- |
| mail-address-text | Specifies the mail address. |
The value is a string of 2 to 127 characters, including letters, digits, underscores (_), hyphens (-), and periods (.). |
| all | Deletes all mail address patterns from the current mail address pattern group. |
- |