What Are Global Email Filters in cPanel? How to Use it?

Global Email Filters in cPanel

A beginner-friendly guide to creating Global Email Filters in cPanel to block spam, organize incoming mail, and manage messages more efficiently.

Global Email Filters in cPanel allow you to create rules that apply to all incoming email messages for your domain. These filters are useful when you want to automatically move, delete, redirect, or mark messages based on specific conditions such as sender, subject, keywords, or other email details.

Important: Global Email Filters work for your domain’s main incoming mail rules. If you only want to filter messages for one specific mailbox, you may need to use Email Filters for that individual email account instead.

What Are Global Email Filters in cPanel?

A Global Email Filter is a rule that checks incoming messages before they are delivered. When a message matches the rule you create, cPanel performs the action you selected automatically.

For example, you can use a Global Email Filter to:

  • Send suspicious messages to spam.
  • Delete emails containing unwanted keywords.
  • Forward important messages to another email address.
  • Separate automated alerts from normal conversations.
  • Reduce inbox clutter across your domain.

How to Create a Global Email Filter in cPanel

    1. Log in to your Account.
    2. Open cPanel.
    3. In the Email section, click Global Email Filters.
  1. Click Create a New Filter.
  2. Enter a name for the filter so you can identify it later.
  3. Choose the rule or condition you want to use. For example, you can filter by sender, subject, recipient, or message content.
  4. Select the action to apply when the condition matches, such as Discard Message, Redirect to Email, Deliver to Folder, or Fail with Message.
  5. Click Create or Save to activate the filter.

Common Filter Conditions You Can Use

  • From: Filter emails from a specific sender.
  • Subject: Match emails with certain words in the subject line.
  • To / Recipient: Apply rules based on the receiving address.
  • Body: Search for keywords inside the message content.
  • Any Header: Use advanced matching for more detailed filtering.

Examples of Useful Global Email Filters

Example 1: Block spam by keyword

If the subject or body contains words often used in spam messages, you can automatically discard the email.

Example 2: Forward system alerts

If the sender matches a monitoring or notification address, you can forward the message to another email account for faster review.

Example 3: Organize newsletters

If emails contain a certain subject phrase, you can move them into a separate folder to keep your inbox cleaner.

Tip: Start with simple filters first. This makes it easier to test your rules and avoid blocking important messages by mistake.
Note: Be careful when using actions such as Discard Message or Fail with Message. If the filter is too broad, it may block valid emails that you actually need.

How to Edit or Remove a Global Email Filter?

  1. Log in to your Account and open cPanel.
  2. Go to Global Email Filters.
  3. Find the filter you want to change.
  4. Click Edit to update the rule, or Delete to remove it.
  5. Save your changes after editing.

Best Practices for Beginners

  • Use clear names for your filters so they are easy to recognize later.
  • Test one filter at a time before creating many rules.
  • Use specific keywords instead of general words whenever possible.
  • Review your filters regularly to make sure they still match your needs.
  • Keep a backup mailbox or folder for important messages when testing new filter rules.

Frequently Asked Questions

Quick answers to common questions about using Global Email Filters in cPanel.

What is the difference between Global Email Filters and Email Filters?

Global Email Filters apply to all email addresses under your cPanel account, while regular Email Filters are created for one specific mailbox only. If you want one rule to affect multiple addresses in the same account, Global Email Filters is usually the better choice.

Do Global Email Filters affect all email accounts in the account?

Yes. These filters are designed to affect the email addresses that belong to the cPanel account. This makes them useful for account-wide rules such as blocking repeated spam patterns or redirecting messages that match a certain condition.

What can a Global Email Filter do?

A filter can perform actions such as discarding a message, redirecting it to another email address, delivering it to a specific folder, stopping further rules, or handling it in other ways depending on the action you choose.

Can I forward matching emails and keep a copy in the mailbox?

Yes, but you need to set the filter carefully. If you only use a redirect action, the message may not stay in the mailbox. If you want to keep a copy as well, add a delivery action that sends the message to the inbox or another folder.

Why is my filter not catching some messages?

This usually happens when the rule is too strict, the condition checks the wrong part of the message, or the incoming email does not exactly match the value you entered. It can also happen if the message was discarded before normal delivery processing.

Can I use the BCC field in a filter rule?

No. In normal email delivery, the recipient usually does not receive the BCC header in a way that can be used for filtering, so Global Email Filters cannot rely on BCC as a rule condition.

Should I create one large filter or several smaller filters?

It is usually better to create several simple filters instead of one very large and complicated filter. Smaller rules are easier to understand, easier to edit later, and usually easier to troubleshoot if one of them does not work as expected.

Can I test a filter before I depend on it?

Yes. cPanel includes a filter testing option that lets you enter a sample message and review how the rule behaves. This is useful when you want to confirm that your logic works before depending on the filter for live mail.

Can I edit or remove a Global Email Filter later?

Yes. You can return to the Global Email Filters page at any time to update a rule, change its action, or delete it completely if you no longer need it.

Can Global Email Filters help reduce spam?

Yes, they can help. For example, you can create rules based on sender, subject, keywords, or spam-related conditions. However, filters work best when used carefully, because a rule that is too broad may also affect legitimate messages.

What should I do if I am not sure which rule to create?

Start with a simple rule first, such as filtering by sender or subject. If you are unsure, take a screenshot of your filter settings and contact support from your Account so the rule can be reviewed before it affects important email.

Helpful reminder: Before creating advanced rules, test a simple filter first to make sure you understand how the selected condition and action will affect incoming email.
If you need help setting up Global Email Filters in cPanel, please contact our support team through your Account and we will be happy to assist you.
  • 612 Users Found This Useful
Was this answer helpful?

Related Articles

How Do I Setup My New Email Account in Outlook?

This guide will explain how to set up your cPanel email account in the Outlook desktop program....

How to create a Branded Email & set up in Outlook, in 60 seconds!

This video will take you through a step-by-step guide on how-to create a cPanel email account and...

How to Set Up an Email Account for Android

It’s become standard practice to check your email on the go from your Android Phone and Tablet....

How Do I Create Email Accounts after purchase?

This guide will explain how to create a new email account @yourdomain.com from your control panel...

What is Default Address in cPanel? How to Use it?

Default Address in cPanel A beginner-friendly guide to catch-all email routing, missed...

Powered by WHMCompleteSolution

Profile
04:29
Profile
Hi there 👋

How can I help you?
Chat on Facebook