How to create email filters (rules for incoming mail)

For hosting customers · Updated 2026-10-29

On this page
  1. Steps
  2. How filters run
  3. Good to know
  4. Common questions

A filter checks each incoming message of one mailbox and moves it to a folder, forwards it or deletes it, before it reaches the inbox. Filters work on the server, so they apply even when no app is open.

Steps

  1. Log in to the control panel (https://<server>:2083).
  2. Open Email Accounts in the menu (section Email).
  3. Click Autoresponder & filters in the row of the mailbox.
  4. Scroll to Filters.
  5. When — choose what to look at:
    • From contains — the sender's address
    • To / Cc contains — the recipient addresses
    • Subject contains — the subject line
  6. Text — the text to look for, for example newsletter@ or [Invoice].
  7. Then — choose what happens:
    • Move to folder — choose the Folder: Junk, Archive or Trash
    • Forward to — enter the address in Forward to
    • Delete — the message is thrown away
  8. Click Add filter.

You see Filter added. The filter is listed with its When and Then. To remove it, click Remove.

How filters run

  • Filters are checked in the order you added them. The first filter that matches decides; later filters are not checked for that message.
  • The spam settings of the mailbox are applied first: mail that counts as spam goes to Junk.
  • Matching ignores upper and lower case and finds the text anywhere in the field.
  • A missing folder is created when the first message is filed into it.
  • Without filters, incoming mail goes to the inbox, and spam to Junk.

Good to know

  • A mailbox can have up to 50 filters. The text can be up to 200 characters.
  • Forward to sends the message on instead of keeping it in this mailbox.
  • Delete cannot be undone. Test with Move to folder → Trash first if you are unsure.
  • To change a filter, remove it and add it again.

Common questions

Can a filter check the message body?

No. Filters look at the sender, the recipients (To and Cc) or the subject.

Can I file mail into my own folder?

The folders offered are Junk, Archive and Trash. For your own folders, use the rules in your mail app; they run when the app is open.

Will the autoresponder still reply to filtered mail?

No. When a filter matches, it ends the processing of that message, so no automatic reply is sent.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.