Skip to content
+2 (02) 20824060+2 012 77002700Pay in EGP: Fawry · InstaPay · Cards

How to Create Email Filters in cPanel (Per Account and Global)

Filters process incoming mail automatically on the server, before it reaches your inbox. Use them to send invoices to accounting, move newsletters to a folder, or discard mail you never want.

Two kinds

Create a filter for one mailbox

  1. In cPanel open Email Filters in the Email section.
  2. Click Manage Filters next to the account, then Create a New Filter.
  3. Type a Filter Name.
  4. Set the Rules: what to look at and how to compare. For example, Fromequals an address. Other common options check the subject or the message text.
  5. Set the Actions: what to do. For example Redirect to Email. Other common actions deliver to a folder, discard the message, or stop processing later rules.
  6. Click Create.

Create a global filter

Open Global Email Filters and follow the same steps. A global rule can use a pattern. For example, a From rule that matches regex can catch many addresses at once.

Test before you trust

Use Filter Test and Test Filter, type a sample address or message, and the Filter Trace Results show which rules would run. Filters run in order, so drag them into the order you need.

Good to know

Related: aliases, forwarders and autoresponders and spam control.

Need help choosing?Tell us about your project and we will recommend the right solution.
Contact us