Email filters act on incoming mail automatically, for example moving newsletters to a folder, deleting messages from a certain sender, or forwarding messages with a certain subject. cPanel has two kinds:
- Email Filters - apply to one mailbox.
- Global Email Filters - apply to every mailbox on your cPanel account.
Step-by-Step Guide:
-
Log in to cPanel:
-
Open the filter tool:
- In the Email section, click Email Filters (then click Manage Filters next to the mailbox) or Global Email Filters.
-
Create a filter:
- Click Create a New Filter and give it a name.
-
Set the rule:
- Choose what to check (for example From, Subject, Any Header, or Body), how to compare it (contains, equals, begins with, and so on), and enter the text.
- Click + to add more rules, and choose and / or between them.
-
Set the action:
- Choose Deliver to Folder, Redirect to Email, Discard Message, Fail with Message, or another action.
-
Save and test:
- Click Create. On the filters page, use the Filter Test box to check how a sample message would be handled.
Tips:
- Filters run in order from top to bottom. Drag them to change the order.
- Use "Deliver to Folder" rather than "Discard" until you are sure a filter is correct. Discarded mail cannot be recovered.
- Redirecting mail to an outside address counts toward your account's hourly outbound email limit.
- For spam scoring and whitelists, see How to Set Up Spam Filters.
Need help? Open a ticket at https://my.peopleshost.com/submitticket.php and our support team will be glad to assist.