It may be necessary to filter incoming email addresses on the server to manage emails effectively. This can be achieved by discarding unwanted emails, redirecting them to another email address, or delivering them to a program with User and Account Level Filtering. This tutorial provides guidance on Global and regular Email Filtering in cPanel. If the earlier tutorial on Setting domain MX records to remote settings in cPanel was overlooked, please refer to it.
To filter emails at the User and Account level, follow these steps:
- Log in to your cPanel account.
- For individual account level filtering, navigate to Email > Email Filters in cPanel.
- For global level filtering, go to Email > Global Email Filters in cPanel.
- Click the “Manage filters” link on the Email Filters page to edit the filters for the email account.
- Click the “Create a New Filter” button to add new email filters.
- Set the filter name, rules, and actions. In this example, any emails from Yahoo.com will be sent to the Junk folder.
- Choose the filter option, operator, and action to define the filtering criteria.
- Once the filter is created, you will receive a message saying, “You have successfully created a new filter.”
- Visit the Edit Filters section to edit or remove the filter.
- Test the filter by changing the To: and From: emails or the subject, and click the “Test Filter” button.
- Check the Filter Trace page to see if the filter is working correctly.
That’s all there is to it! For more information on using email in cPanel, please visit the Using Email – cPanel course.