From the Modify List page, click List Filters in the header menu. The established filters for that list appear. Use the Add button to add a filter.
You can use Delivery Filters to direct incoming mail to particular mailboxes based on the contents of To, From, Sender, Subject, the entire message Header (everything but the body of the message), or the Body of the message.
To add a filter:
Select the field you want to search.
Select "contains" to have the delivery filter look for messages that contain the search string; select "doesn't contain" to look for messages that do not contain the string.
Enter a search string in the Phrase text box as described below.
Turn on Case Sensitive Match to search for text that matches the case of the search string; to ignore case, turn off Case Sensitive Match.
Check Search string from file if you have placed the search text in a text file. The listbox shows a list of the existing filter files.
In Move To select or enter the name of the mailbox to which messages meeting the filter criteria will be sent. If you enter a mailbox that does not exist, one will be created for this user on the Server system. A POP3 user will see this mailbox only if he logs on to this mailbox using the format User ID-newbox. Enter delete to discard the message.
Click Add to save the rule.
Enter a search string by doing one or more of the following:
Enter the literal text (up to 255 characters) that you want to search for. For example, if you want to find the word jazz, type: jazz.
Type search expressions and quantifiers (up to 255 characters) as shown in the Text Patterns tables below.
Paste a portion of a mail message that meets your intended search criteria. For instance, you could copy and paste text such as XMSMailPriority(High) from the header of a message; this would search for High priority messages.
|
Text Pattern |
Expression |
|
Any character |
. |
|
Any of the values separated by vertical bars within the parentheses |
(this|that|other) |
|
Any word character (a-z, A-Z, 0-9) |
\w |
|
Any non-word character |
\W |
|
Any digit (0-9) |
\d |
|
Any non-digit |
\D |
|
Any white space (spaces and/or tabs and/or carriage returns) |
\s |
|
Any non-white space |
\S |
|
Any punctuation character (any character other than \w or \s) |
\p |
|
Any non-punctuation character |
\P |
|
Quantifier |
Expression |
|
Zero or more |
* |
|
One or more |
+ |
|
Exactly 100 |
{100} |
|
At least n1, but not more than n2 (where n1 and n2 are numbers) |
{n1,n2} |
Note: As shown above, the following characters have special meaning in a rule:
{}()|*+,.:
If you want to use one of these characters in a search string, precede it with a backslash. For example, to search for a plus sign, enter \+ in the search string.