Chapter 7 · 7.1
Creating a filter
A filter lets the mail server sort your mail automatically as soon as it arrives. For example, all mail with invoice in the subject goes to the Customers folder. The filter runs on the server, so it also works when the webmail and your mail program are closed.
How to create a filter
- In the menu, click Settings and then Filters.
- At the top, click Create.
- Give the filter a clear Filter name (1).
- Leave Filter enabled switched on.
- Under Scope, choose whether the message must match all rules, any of them, or whether the filter applies to all messages.
- Under Rules, set the condition: choose where the webmail should look (2), for example Subject or From, choose for example contains, and enter the text (3).
- Under Actions, choose what should happen (4), for example Move message to, and choose the folder (5).
- Click Save.

Use the plus icon next to a rule or action to add more. Use the bin icon to remove one.
Your filters at a glance

Your filters are shown in the list (1). Click a filter to edit it or to switch it off temporarily with Filter enabled. Filters run from top to bottom. Drag a filter to change the order.
Quickly create a filter from a message
Open a message, click More and choose Create filter. The webmail fills in the sender and the subject for you.
Tip: a filter applies to one mailbox. If you want to block something for all mailboxes on your domain, use SPAM Filters in DirectAdmin. See SPAM Filters: blocking senders, domains and words and Server-side email rules (filters on the server).
