Efficient Filtering for Your Entire Domain

While regular filters apply only to a single mailbox, Global Email Filters act on every message sent to any address on your domain. This saves time when you want to apply general rules (such as deleting emails with specific keywords in the subject) for your entire company.

cPanel Global Email Filters Overview
Important Note: It is better to use many small, simple filters instead of one complex rule. The system processes these much faster. Also, note that filters cannot react to the BCC field, as it is usually not included in the header upon receipt.

1. Create and Manage Filters

Go to Global Email Filters in your cPanel and follow these steps:

  1. Click on "Create a New Filter".
  2. Enter a name that describes the function.
  3. Select the Rule (e.g., Subject contains "Lottery").
  4. Select the Action (e.g., Discard Message).
  5. Click "Create".

2. Wildcard Redirects (Regex)

For advanced users, global filters offer the possibility of Wildcard Redirects. This allows you to redirect entire groups of senders. For this, we use "Regex" notation (Regular Expressions).

Example: You want to intercept all emails from test_user1@..., test_user2@... etc.
Use as criterion: test_user.+@example\.com
The notation .+ serves here as a placeholder for any characters.

3. Correctly Testing Filter Results

Use the "Filter Test" function to ensure that your rules work as desired. After clicking "Test Filter," you will receive a log:

1 Condition is false: $header_subject: contains "Test"
...
10 Filter has set up no significant delivery.
11 Normal delivery will occur.

What does the result mean?

  • Normal delivery: The filter did not trigger. The email will end up in the inbox.
  • Significant delivery or action set up: The filter was successful! The message was moved, redirected, or deleted.

Global filters are a powerful tool against mass spam. Do you have questions about Regex patterns? The CURIAWEB team is happy to help!

Was this answer helpful? 0 Users Found This Useful (0 Votes)