How To Setup Account-Level Filter on cPanel Servers

Tags: account level filteringcPanelmail filtering

Published on: October 17, 2014 by Sreejith K R

How To Setup  Account-Level Filter on cPanel Servers


Account level filtering is a feature provided in cPanel to filter e-mail based on rules. E-mails can be filtered in account level; i.e., mails to all email accounts on the domain can be filtered. Mail filtering can reduce spam messages by discarding/rejecting them according to the rule-set.

There is a default account created in cPanel in the format “username@domainname“. This account can not be used to sent mail.

There is also User Level Filtering in cPanel which allows to filter mails for each email account. This is different from Account Level filtering because User Level filter applies only to the specific mail account for which it was created. But Account Level Filtering affects all the mails coming to that domain.

Filters can be configured from cPanel >> Mail >> Account Level Filtering.

Options:  These are the conditions that can be used to select the mail.

Operations: These are the way in which the options are matched with a mail to check if it satisfies the conditions. Several operations and options can be combined to create a large complex filter.

Actions:  These are the action to be taken/applied to the mail which satisfy the filtering condition(s).

Options :

From : Address from which the message was sent.

Subject : The subject line of the message.

To : Address to which the message was sent.

Reply Address : Address to which the reply will be sent.

Body : Body, or content area of the message.

Any Header : A header of the message.

Any recipient : A recipient of the message.

Has not been previously delivered : Affects messages still in queue for delivery.

Is an error message : Affects error messages received from an auto-response system.

Spam Status : The status SpamAssassin has conferred on the message; it begins with either “Yes” or “No.”

Spam Bar : The content of the Spam Bar header that SpamAssassin has generated for this message. This header contains plus (+) signs to denote the likelihood that the message is spam; more plus signs means the message is more likely spam.

Spam Score : The overall spam score assigned to the message by SpamAssassin, expressed in digits. The spam score correlates to the number of plus (+) signs in the Spam Bar header.

Operators :

equals : Exactly matches the string you define below.

matches regex : Matches a regular expression defined below.

Contains : Contains the string you define.

does not contain : Does not contain the string you define.

begins with : Begins with the string you define.

ends with : Ends with the string you define.

does not beginDoes not begin with the string you define.

does not end with : Does not end with the string you define.

does not match : Is not equal to the string you define.


Following are only applicable when the Spam Score option is selected (numeric value only).

is above : Scores greater than the number you define will be subject to the action.

is not above : All scores equal to or less than the defined number will be subject to the action.

is below : All scores below the defined number will be subject to the action.

is not below : All scores greater than or equal to the specified number will be subject to the action.

 Actions :

Discard Message : Destroys the incoming message with no failure notice.

Redirect to email : Redirects the message to another email address that you specify.

Fail with message : Discards the message and automatically returns a specified failure notice to the sender.

Stop Processing Rules : Skips all filter rules.

Deliver to folder : Deposits the message into a specified folder.

Pipe to a program : Sends the incoming message to a program you have specified. This option is only available via Account Level Filtering (not User Level Filtering), for security reasons.

Account level

Get 24/7 expert server management

Category : cPanel, Howtos, Troubleshooting

[easy-social-share counters=0]
Sreejith K R

Sreejith K R

Sreejith is an early adopter of upcoming technologies and has got immense interest on exploring its features for improving productivity. He is quite proficient in various scripting languages and loves to enhance work flow through development of various automation scripts. He is video game junkie and is a perfect choice for the position of a game tester :-)

You may also read:


Add new commentSIGN IN

Let's Connect


Your Cart

ZPanel migration support for webhosting accounts
Account Migration - ZPanel to ZPanel Migration
Qty: 1
Expert migration team to outsource your Non-Zpanel to ZPanel migrations.
Account Migration – Non-ZPanel to ZPanel
Qty: 1
ZPanel server migration through migration experts.
Server Migration - ZPanel to ZPanel
Qty: 1
server migrations to ZPanel Severs from non-zpanel servers
Server Migration - ZPanel to Non-Zpanel
Qty: 1
Qty: 1
Live Chat Support Team - Sales
Qty: 1
Live Chat Support Team - Billing
Qty: 1
24/7 Sales and Billing support through dedicated sales and billing team
Dedicated Team plan - Sales/Billing
Qty: 1
level2 dedicated night shift support
Dedicated Night Shift Support - Owls
Qty: 1
Shift support for level1 dedicated night shift support
Dedicated Night Shift Support - NightJars
Qty: 1
Four member level3 semi-dedicated technical support team for advanced helpdesk and server adminsitration requirements.
Semi-dedicated Team - Technical - Masters
Qty: 1
level2 semi-dedicated technical support team for dedicated 24/7 server administration and helpdesk support
Semi-dedicated Team- Technical - Abbots
Qty: 1
Choose the number of L1 Soldiers for your team
Qty: 1
Level3 dedicated technical support team for complete hosting support solutions
Dedicated Team - Technical- GrandMasters
Qty: 1
level1 dedicated technical support team
Dedicated Team - Technical -Monks
Qty: 1
Part time graphic designer availability for your custom design requirements
Hire a part time Graphic designer - (4 hours x 22 days)
Qty: 1
A dedicated graphic designer can help you with logo design, website design etc. with high level of professional competency and time bound delivery.
Dedicated Staff - Graphic Designer - (8 hours x 22 days)
Qty: 1
Get a dedicated level3 server administrator for your dedicated server management operations.rver administration and helpdesk support.
Dedicated Staff- Server Admin- Commander
Qty: 1
Dedicated level3E server administrator for escalation support.
Dedicated Staff- Server Admin - Zen Master
Qty: 1
dedicatd level2 server administrrator for sever administration and webhosting support
Dedicated Staff- Server Admin - Warrior
Qty: 1
level1 server administrator for dedicated server administration
Dedicated Staff - Server Admin - Soldier
Qty: 1
VPS node management plan for setting up of VPS node and virtualization assistance.
VPS - Node Management
Qty: 1
VPS live chat for the technical, sales and billing issues for the VPS node and the VPSes hosted on it.
Live Chat - VPS Node
Qty: 1