OpenWebMail Help Tutorials >> Setting up a Filter

A filter, in the sense of e-mail, is a setting that blocks certain e-mails from selected header criteria. The trick to setting up a filter is to identify a criteria in the message that is unique from all others. Then, specify that all messages with that criteria are to take a desired action.

To set up a filter, click the "Mail Filter Setup" button ( ), and you will be redirected to the Edit Mail Filter page. You'll notice that there are already several preset filters in place that are changeable, but not removable. It is likely that these filters will be all that you need.

However, you may want to set up filters for more specifics. By entering the "Mail Filter Setup", (see above paragraph) you can edit, create new, and delete filters.

As you can see, there are several filters setup, but they seem to be unclear. For example, you may see a filter that blocks out \s{40,}\[[a-z0-9]{5}\]$. This is a specially made filter that will block out several different strings in one criteria. In this case, it will block out any string that consists of 40 or less lowercase characters and 5 or less alphanumeric characters. However, instead of getting into the messy details, this tutorial will explain the basics of setting up a filter.

Please use this chart as a reference to mail filters:

Term Action or Meaning
Determines the order of excution.
RulesSelect the header criteria.
Inc/ExcIncludes or Excludes the string (see next).
StringText to block or accept.
ActionWhat action will be taken when encountering this mail.
DestinationLocation to dump this mail to.
EnableCheck to enable the selected filter.
Action [2]Finalize filter settings (add to filter list).

Here's an example to follow:

Rules Inc/Exc String Action Destination Enable

Translating this filter into plain English would be:
Move all e-mail that is from anyone who resides on to the Trash. This filter is enabled. Therefore, if someone who's e-mail address was tried to send you an e-mail, it would be automatically sent to the Trash.

You could also have an exclusive filter, by blocking anyone who does not reside on a certain server. For example, if you changed include to exclude, you would be allowing e-mail from only those at

To edit a filter, simply click the string of the filter and it will display on the editor at the top. See the above chart for details on filter editing.

If you would like to temporarily disable a filter, there is an easier way than deleting it and having to create it all over again. Simply follow the instructions in the above paragraph to edit the filter, uncheck Enable, then click Add/Modify and the filter will no longer be in place. It will store it in a second chart above the preset filters. To enable the filter again, you can either edit the newly created filter in the second chart and check off Enable, then click Add/Modify; or you can delete the newly created filter by clicking Delete to absolute right of the filter you wish to delete.

<< Managing Your Folders Downloading & Backing up >>
About OpenWebMail Help