Chapter 7 · 7.2
Examples of useful filters
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 |
| All mail from one client 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 |
Forwarding 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 attribute any spam you forward to you. So preferably only forward to addresses you manage yourself.
Is a filter not working?
- A filter only works on new mail. You move mail that is 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.
