How to Create Email Filter

Email filters allow you to create a rule for any incoming messages to a specific email account or to all the accounts that you have. Once you set these rules and you receive messages, the system will automatically perform the rules on the message, either redirecting to a different folder or delete it.

As mentioned previously, you have two ways of creating an email filter:

Before proceeding with the steps below, you’ll need to consider if the filter you’re going to create is beneficial for you alone or everyone with your domain.

Global Filter

Step 1. Log in to the cPanel using this link format: http://yourdomain.com/cpanel/
Replace yourdomain.com with the Main Domain Name connected to your hosting.
Step 2. Under Email panel choose Global Email Filters.

Step 3. Click on Create a New Filter.

Step 4. Fill the empty fields:

Rules

Option Description
From Sender’s email address.
Subject Email’s subject line.
To The email address used to send the message.
Reply The email address which the sender receive replies.
Body The email’s content.
Any Header Any part of the email’s header.
Any Recipient Any recipient of the email.
Has not been previously delivered Emails that are still on queue.
Is an Error Message Error messages that are detected by the system.
List ID Mailing lists.
Spam Status Check SpamAssasin filter.
Spam Bar Based on the Spam Bar (+) that is set in the SpamAssasin filter.
Spam Score Total number of plus signs (+) in the Spam Bar value, expressed as an integer through SpamAssasin.
Option Description
contains Contains the keywords that you define.
matches regex Emails that matches to the regular expression that you define.
does not contain Email does not contain the defined keyword.
equals Email exactly matches a defined keyword.
begins with The email begins with the defined keyword.
does not begin The email does not begin with the defined keyword.
ends with The email ends with the defined keyword.
does not end with The email does not end with the defined keyword.
does not match The email does not exactly match the defined keyword.

Actions

Actions Description
Discard Message The system discards or deletes the incoming email with no failure notice.
Redirect to email The system forwards or redirects the email to another email address that you specify.
Fail with message The system discards or deletes the email and automatically send a failure notice to the sender.
Stop Processing Rules The system skips all filter rules.
Deliver to folder The system delivers or moves the email to a specified folder.
Pipe to a program The system sends the incoming email to a specified program.

Step 5. Click Create once done.

Email Filter

Step 1. Log in to the cPanel using this link format: http://yourdomain.com/cpanel/
Replace yourdomain.com with the Main Domain Name connected to your hosting.
Step 2. Under Email panel choose Email Filters.

Step 3. Look for the email address and click Manage Filters.

Step 4. Click Create a New Filter button.
Step 5. Fill the empty fields:
Check the Rules and Actions for more information.

Step 6. Click Create once done.

If you’ve faced any troubles, please don’t hesitate to contact our 24/7 Singapore or Australia Support Team. They’ll be happy to help out.

(Visited 1,147 times, 1 visits today)

Was this article helpful?

Related Articles