Chapter 7 · 7.2
Examples of useful filters
Watch it in a short video
Here are a few filters that many people use. You create them as described in Creating a filter.
| What do you want? | Rule | Action |
|---|---|---|
| Invoices in their own folder | Subject contains invoice | Move message to your Invoices folder |
| Mail from one client kept together | From contains @clientdomain.com | Move message to that client's folder |
| Newsletters kept separate | From contains the newsletter's address | Move message to a Newsletters folder |
| A copy to a colleague | Scope: all messages | Send message copy to your colleague's address |
| A sender you never want to see again | From contains the address | Delete message |
Forward with a filter or with a forwarder?
Do you want to send all mail from a mailbox to another address? You can do that with a filter, but a forwarder in DirectAdmin is simpler and works for the whole address. See Forwarders: forwarding mail to another address and Forwarding email to another address (forwarders, catch-all not recommended).
Please note: if you automatically forward mail to an address at Gmail, Outlook.com or another provider, that provider may hold you responsible for any spam you forward. So it's best to forward only to addresses you manage yourself.
Filter not working?
- A filter only works on new mail. You need to move mail that's already in your mailbox yourself.
- Check that the filter is enabled.
- Check whether a filter higher up in the list is already moving the message.
- Check the text in the rule. Capital letters don't matter with contains, but a typo or an extra space does.
