A global email filter in cPanel is a rule that applies to all email addresses associated with your cPanel account. It allows you to manage how incoming emails are handled, such as filtering spam, redirecting emails, or organizing messages based on specific criteria.
How to Use a Global Email Filter in cPanel
-
Log in to cPanel: Access your cPanel account.
-
Navigate to Email: In the cPanel dashboard, click on the "Email" section.
-
Open Global Email Filters: Click on the "Global Email Filters" icon.
-
Create a New Filter: Click on the "Create a New Filter" button.
-
Enter Filter Details: Fill in the following details:
-
Filter Name: Enter a name for your filter.
-
Rules: Set the rules using the drop-down menu. You can choose criteria such as "From," "Subject," "To," "Body," etc.
-
Operators: Select the type of comparison (e.g., equals, matches regex).
-
Actions: Choose the actions to take when the rule matches (e.g., delete, redirect, mark as read).
-
-
Click Create: Once all details are filled, click the "Create" button.
Example Use Case
Let's say you want to filter out all emails from a specific domain and redirect them to a different address:
-
Filter Name: "Filter Out Domain"
-
Rules: "From"
-
Operators: "matches regex"
-
Criteria:
.*@example.com -
Actions: "Redirect to"
-
Destination Address:
your-email@example.com
This filter will redirect all emails from @example.com to your-email@example.com.
