Using Cpanel Email Filters

Email Filters

Cpanel filters can do many things to help you.
You can create filters to block out emails from sender that you can't block any other way.
For instance you can set a filter to discard a message that has  "RX discounts" in the subject or a domain name in the from address.

The filters are in two types:
Account Level
User Level

Filters set at the account level will affect every email user created in your account.
Filters set on the user level are for the chosen email user only.

To create a filter just click on Create a New Filter - for user level first click on manage filters for the user.

Once there you can choose from the drop downs to set a rule.
For instance we can set Subject  for the first drop down and  contains for the second drop down.

In the next line put: RX discounts

For Actions choose Discard.

That's it - now any email that has RX discounts in the subject will be deleted.

You can also setup a forwarder using the filters.
Rules can be combined in a single filter so you can have And or Or rules.

You can pipe the email to a program or send it to a folder.

There is a lot of power using this.

Some examples:
Discard Spam from a email pipe
Rules
To    contains
contact@yourdomain.com   and
Subject   contains
***SPAM***

This rule can send bounces and Spam to a different email address.

filter name: bounce-back
------------------
Any header contains
X-Failed-Recipients or
X-Bounce or
Spam Bar contains
**** or
subject contains
delayed

Actions
----------
Redirect to email bouncebacks@
Stop processing rules

This next rule forwards emails to user email without Spam and bounces

filter:foward
------------------
Any header does not contain
X-Failed-Recipients or
X-Bounce or
Spam Bar contains
**** or
subject contains
delayed

  • 1 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

Proper use of a Email forward and to avoid Spam blocking

A Email forward is very useful if you wish to create email addresses that doesn't really exist....

My email account is over limit but there are no emails in the account

This is most likely due to Spam Assassin's Spam Box feature. Spam Box is a feature for those...

How do I use Spam Assassin?

First you Enable Spam Assassin. If an email is found to be Spam the system will add ***SPAM*** to...

Using Portable Email Devices

Our servers support both Pop 3 and IMAP mail systems. You can use any type of PDA to access...

How to fine tune your SPF

What is SPF and what should the settings be? Sender Policy Framework SPF Record Syntax SPF is...