In this post, learn how to create email filters in Linux web hosting accounts.
cPanel lets you create two types of email filters:
- Global level filters handle email before it reaches any of your mailboxes.
- User level filters handle email after a specific account receives it.
- Login to your cPanel web hosting account with username & password.
- In the cPanel Home page, in the Email section
- To create a global filter, click Global Email Filters.
- To create a user-level filter, click Email Filters, and next to the name of the account you want to filter, in the Actions column, click Manage Filters.
- Click Create a New Filter.
- Enter a Filter Name.
- Select and enter the Rules and Actions you want, and then click Create.
1. Email Filters
This interface allows you to filter the email for each email account in your domain.
Important:
We strongly recommend that you use multiple, simple filters instead of a single large filter. Exim, the server’s mail transfer agent, handles many small rules more efficiently than a single large rule.
Create a filter
To create a new filter, perform the following steps:
- In the Filters by Users table, click Manage Filters for the appropriate email account.
- Click Create a New Filter.
- Enter a name for the filter in the Filter Name text box.
- Configure your filter’s rules and actions.
- Click Create.
Current Filters
To list an email account’s filters, click Manage Filters in the row of the appropriate email account. The Current Filters table lists all of the filters for the selected email account.
There is no content with the specified labels
Edit a filter
To edit an existing filter, perform the following steps:
- Click Edit next to the appropriate filter name.
- Make the desired changes to the filter.
- Click Save.
Delete a filter
To delete a filter, perform the following steps:
- Click Delete for the appropriate filter name.
- Click Delete Filter.
Test a filter
To test a filter, perform the following steps:
- In the Filters by Users table, click Manage Filters next to the desired email account.
- Enter a test email message in the Filter Test text box.Note:Include the characters or words you configured for your filter.
- Click Test Filter.
2. Global Email Filters
This interface allows you to configure how your server filters all of the email that your domains’ email accounts receive.
Important:
We strongly recommend that you use multiple, simple filters instead of a single large filter. Exim, the server’s mail transfer agent, handles many small rules more efficiently than it handles one large rule.
Note:
Generally, the recipient does not receive the BCC
field in an email’s header. For this reason, you cannot use the BCC
field in a filter.
Create Filter
To create a new filter, perform the following steps:
- Click Create a New Filter.
- Enter the filter’s name in the Filter Name text box.
- Configure your filter’s rules and actions.
- Click Create.
Current Filters
The Current Filters section lists all of the account-level filters for your cPanel account.
Edit a filter
To edit an existing filter, perform the following steps:
- Click Edit next to the appropriate filter name.
- Make the desired changes to the filter.
- Click Create.
Delete a filter
To delete a filter, perform the following steps:
- Click Delete next to the appropriate filter name.
- Click Delete Filter.
Test a filter
To test your filter, perform the following steps:
- Enter a test email message in the Filter Test text box.Note:Make certain that your test message includes the characters or words to filter.
- Click Test Filter. The Filter Trace Results text box indicates whether your filters alter the test message’s delivery.
Thanks for visiting. For queries and suggestions, emails are welcome at learnweb@hostingcolumn.com.
Subscribe to Hosting Column for latest updates and posts.