A global email filter applies rules to incoming mail for the email accounts managed by your cPanel account. This guide explains how to create a filter and test its effect before relying on it.
Create the filter
- Log in to cPanel and open Email > Global Email Filters.
- Click Create a New Filter.
- Enter a unique Filter Name. Reusing an existing name can replace that filter.
- Under Rules, select the part of the message to check, the comparison and the value to match.
- Choose the required Action. Review all added rules and actions, including any and or or relationships.
- Click Create.

Actions such as discarding or redirecting messages affect delivery for every mailbox covered by a global filter. Test the rules with representative messages so legitimate mail is not lost or sent to the wrong address.
Test and manage the filter
Use the interface’s Filter Test with sample message headers and content. Check both messages that should match and messages that should pass unchanged, then send a real test message.
Use Edit to change a filter or Delete to remove it. For a rule affecting only one mailbox, use Email Filters instead of Global Email Filters.