Creating Filters (Return to Help Menu)

 

Setting up filter rules (Back to Top)

Email filtering allows you to define rules to manage incoming email. Filtering applies a set of rules to incoming email and then executes a specified action.

You can filter your incoming email messages to:

For example, you could define a filter rule to identify mail coming from your immediate supervisor and move it to a folder called "From My Boss" or to automatically move messages from a specific address to the Trash folder.

Filter conditions

Each filter rule can contain several conditions. For example, if your supervisor sends you emails from more than one address, such as jane.smith@company.com or from jane-smith23@yahoo.com, you could create one filter called "Supervisor" which has two conditions, one for each email address.

Conditions include:

All the conditions allow you to specify "not" as a negative condition. For example, you can specify mail that does not contain a particular word.

You can combine conditions to search for mail with more complex characteristics.

Any versus. All

Conditions within a filter rule can be grouped using Any or All . The use of these terms is similar to the "AND" versus. "OR" type searches described under the Search feature, with Any being OR and All being AND.

If you choose Any when defining conditions for a new filter rule, then a message that meets any one of the conditions is considered a match. However, if you choose All, every condition specified in that filter rule must apply in order for that message to match the filter.

Filter rule actions

Each filter rule can specify one or more actions. Actions include:

The Do not process additional filters  action should be the last action within each filter rule. This prevents the application of any additional filter rules to email messages that match the current rule.  If it is not specified, subsequent filter rules are evaluated for the mail message, even if the current filter is a match. You probably do not want to have the same message match more than one filter rule and undergo multiple, perhaps contradictory actions.

When filters are applied

Each incoming message is tested against your filter rules at the time that the mail is delivered and the filter actions are applied to matching messages at that time.

Filter Order

The filters are applied in the order they are listed on the Mail Filter tab. You can change that order.

Within each filter, the conditions are used to test each mail message. If the message meets the conditions collectively (using the Any or All designation as specified in the filter rule), it is considered a match. The order of the conditions within each filter is not important.

If the message matches the conditions, all actions associated with that filter rule are applied, in the order in which they appear in the filter.

Active versus. inactive filters

All filters currently defined are listed on the Options, Mail Filter page. The Active check box allows you to turn filters on or off without having to delete the filter rules. .

 

Filtering your messages (Back to Top)

Filtering applies a set of matching rules to incoming mail and then executes a specified action.

You can filter your incoming mail messages to sort them into folders, automatically tag them, forward them, or discard them. For example, you could create a rule as follows:

To create or edit a new filtering rule:
  1. Click the Preferences  tab.

  2. Open the Mail Filters tab and click New Filter.

  3. The Add Filter dialog displays.

  4. In Filter Name, type the name for the rule.

  5. In the If the following conditions are met area, choose a grouping preference.  

The following steps can be repeated to set up multiple conditions and actions within a single filter.

Click , to add more conditions. You can continue to add more conditions or proceed to the next part, which is to add one or more actions.

  1. In the Perform the following actions area, choose an action from the drop-down list.

Click , to add more actions. You can continue to add more actions or click OK to finish.

  1. Check the Active box to turn on the filter rule.

The filter will be applied automatically to all new incoming mail messages as they arrive.

 

 

Filter conditions and actions supported (Back to Top)

Filter rules are not case-sensitive, meaning that the rules ignore capitalization.

Conditions

Comparison fields include the following:

Comparison operators include the following:

Actions

Multiple Actions

You can create a filter rule made up of multiple actions. The combinations of actions in your rule are interpreted as follows:

 

Filtering using contains, matches, and is options (Back to Top)

Three of the comparison methods for filter conditions are Contains, Matches pattern, and Matches Exactly. These options appear for some items such as the subject line.

 

Filter wildcards (Back to Top)

Wildcards can be used in comparisons that use the "Matches pattern" comparison operator. The two wildcard characters are * and ?

Asterisk (*)

The asterisk * is a placeholder for "zero or more characters of any type".

Example subject-line search string: banana*float

With Matches: Subject lines such as "bananafloat", "bananas", "banana-leaf casserole float" but not "super-banana-float"

Example subject-line search string: w*bandanna

With Matches: Subject lines such as "white bandanna" or "whose bandanna" but not "whose bandanna is this?"

Question mark (?)

The question mark is a placeholder for "exactly one character".

Example subject-line search string: banana?boat

With Matches: Subject lines such as "bananasboat", "banana-boat", "banana!boat", or "banana boat"

Escape character is Slash: \

There may be times that you will want to specify an exact match on a string that contains characters that normally are considered wildcards. For example, you might want to specify a match on a subject line where the main heading is surrounded on both sides by three asterisks, such as

***MORE MONEY!!!*** or

***FREE GIFT***

To specify a wildcard as itself rather than a substitution for other characters, use the backslash \ immediately before the character. For example the comparison string "\*\*\**\*\*\*" specifies a subject with three asterisks before and after any string in the middle (including spaces).