How to configure email filters in cPanel
cPanel email filters help you apply automatic rules to messages that arrive in one mailbox: move them to a folder, forward them, discard them, or stop other rules. Use them when you want to organize mail on the server before it reaches Webmail, Outlook, or your phone.
Before you start
- You need access to cPanel and to the email account you want to filter.
- Confirm that the mailbox already exists. If you do not have it yet, create the email account in cPanel first.
- Define a clear condition, for example a sender, subject, keyword, or specific header.
- Decide the action before saving: move to folder, redirect, discard, or stop more rules.
Create the filter in cPanel
- Log in to cPanel and find the Email section.
- Click Email Filters. If you need a rule for the whole domain, use Global Email Filters more carefully.
- In the row for the correct account, click Manage Filters.
- Click Create a New Filter and enter a descriptive name, such as
vendor-invoices. - Under Rules, choose the field you want to check, for example From, Subject, or To.
- Select the right comparison, such as contains, equals, or matches regex, and enter the value that must match.
- Under Actions, choose what cPanel should do with the message. To organize mail, use Deliver to Folder and enter a folder such as
INBOX.Invoices. - Click Create to save the filter.
Test the rule with a real email
- Send a test message that matches the filter condition.
- Wait a few minutes and open Webmail or your mail client.
- Check whether the message reached the expected folder, address, or state.
- If it did not work, go back to Email Filters, open the filter, and review the field, comparison, and exact value.
Edit or delete a filter
- In cPanel, return to Email Filters and click Manage Filters for the affected account.
- Use Edit to change conditions or actions without creating a duplicate rule.
- Use Delete only when you are sure the rule is no longer needed.
- If you have several filters, place the most specific rules first and use Stop Processing Rules when a match should not continue through later filters.
Final verification
- The filter appears in the list for the correct account.
- A test email matches the condition and receives the expected action.
- Legitimate messages still reach the main inbox when they do not match the rule.
- There are no duplicate filters with contradictory actions.
Common errors
- The filter does not run → The condition does not exactly match the received email → Check the full sender, capitalization, spaces, and selected field.
- The email disappears → You chose Discard Message or a folder you do not check → Change the action to Deliver to Folder or test with a folder visible in Webmail.
- Too many messages are filtered → The keyword is too broad → Use a more specific condition or combine rules with and.
When to ask for help
If the filter affects important messages, if you need complex regular expressions, or if you are not sure which header to inspect, open a ticket from your client area. Share an example email and explain the action you expect so support can guide you without changing other mailboxes.
Recommended reading
Still need help?
If this guide didn’t solve your issue, our team can help you via ticket.