cPanel allows for the filtering of emails based on keywords. This feature can be can accessed by entering the Email Filters option on the cPanel menu.
This will bring you to the Email Filters menu. Here, you can manage the filters for each individual email account. Click on Manage Filters to bring you to the filter management page.
This page will allow you to create new filters and manage existing filters. Click on Create a New Filter.
The next page will allow you to create a rule set for the new filter being created. Here, you will need to add the rules and actions of the filter. In the example below, we have created two rules in this rule set, which is to discard emails with the words “Viagra” and “Lottery” in the subject line.
Once you’re happy with the rule set, click on Create to finalise it. You will be able to view the newly created rule set in the Email Filters page. The newly created filter can also be edited if you would like to make any changes.
You will also be able to test the rule sets you have created using the Filter Test below. This will test for the conditions that you have specified in your rule set.
In our example, we have successfully created the email filter as the test results have correctly filtered out our test email which contained the term “Viagra”, based on the rule that we have created.
Feel free to experiment with new rule sets to improve the filtering for your email accounts.