Email filters sort incoming mail automatically. For example, you can send newsletters to a folder, delete email from a particular sender, or forward certain messages to a colleague.
Opening Email Filters
- Log in to cPanel (see How to Log In to cPanel)
- In the Email section, click Email Filters
- Click Manage Filters next to the email account you want to filter
Want a filter for every account on your domain? Use Global Email Filters instead.
Creating a Filter
- Click Create a New Filter
- Enter a Filter Name, for example "Newsletters"
- Under Rules, choose what to look for, for example:
- From contains newsletter@example.com
- Subject contains Invoice
- Under Actions, choose what to do:
- Deliver to Folder: click Browse and pick a folder
- Redirect to Email: send it to another address
- Discard Message: delete it
- Fail with Message: reject it and tell the sender why
- Click Create
Examples
Move Spam to the Spam Folder
- Rule: Spam Status begins with Yes
- Action: Deliver to Folder > spam
Send Invoices to an Accounts Folder
- Rule: Subject contains Invoice
- Action: Deliver to Folder > Accounts
Testing a Filter
At the bottom of the filters page, under Filter Test, paste in a sample email (starting with lines like From: and Subject:) and click Test Filter to see what would happen.
Changing or Removing a Filter
On the filters page, click Edit or Delete next to the filter.