{"id":940,"date":"2017-02-25T13:48:35","date_gmt":"2017-02-25T13:48:35","guid":{"rendered":"https:\/\/www.xsofthost.com\/help\/?p=940"},"modified":"2017-02-25T13:49:31","modified_gmt":"2017-02-25T13:49:31","slug":"how-to-setup-email-filters-global-email-fillers-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.xsofthost.com\/help\/how-to-setup-email-filters-global-email-fillers-in-cpanel\/","title":{"rendered":"How to setup email filters and global email fillers in cPanel"},"content":{"rendered":"<h2>What is cPanel Email Filters<\/h2>\n<p>cPanel Email Filters is a tool provided by cPanel control panel that allow you to block unwanted messages based upon a certain set of conditions,or route email to another e-mail address and move the incoming email address to certain exiting folder within the configured email account,or pipe the email message to a program. cPanel offer two type of email filters ,<\/p>\n<ol>\n<li>Email account level filtering: You can configure e-mail filters for specific e-mail accounts.<\/li>\n<li>Account level filtering (Global Email Filters): You can configure e-mail filters that apply to all e-mail accounts for your domain.<\/li>\n<\/ol>\n<h2>What are the differences between Email Filters and Global Email Filters<\/h2>\n<p>both Email Filters and Global Email filters are works with the same rules and use same criteria,the only major different between both tool that the Emil filter wok and apply rules on a specific email account, but the global email filters work on account level and apply the rules for all email accounts.<\/p>\n<h2>How to setup email filters within cPanel<\/h2>\n<ol>\n<li>Login to your cPanel account.<\/li>\n<li>From the <strong>cPanel Home<\/strong> dashboard, locate <strong>Email<\/strong> section and click<strong> Email Filters<\/strong> Icon.\n<p><a class=\"lightbox-image-link\" title=\"cPanel Email Filters.\" href=\"\/knowledgebase\/cpanel-email-filters.png\" data-lightbox=\"roadtrip\" rel=\"lightbox[940]\"><img class=\"thumbnail\" src=\"\/knowledgebase\/cpanel-email-filters.png\" alt=\"cPanel Email Filters\" \/><\/a><\/p>\n<\/li>\n<li>From the<strong> Email Filters\u00a0 Page<\/strong> select the email account you want to apply filter and under <strong>Actions<\/strong> click <strong>Manage Filters<\/strong> link.\n<p><a class=\"lightbox-image-link\" title=\"cPanel Manage Email Filters.\" href=\"\/knowledgebase\/cpanel-email-filters-manage-filter.png\" data-lightbox=\"roadtrip\" rel=\"lightbox[940]\"><img class=\"thumbnail\" src=\"\/knowledgebase\/cpanel-email-filters-manage-filter.png\" alt=\"cPanel Manage Email Filters\" \/><\/a><\/p>\n<\/li>\n<li>On next page just click <strong>Create a new Filter<\/strong> button.\n<p><a class=\"lightbox-image-link\" title=\"cPanel Create New Email Filters.\" href=\"\/knowledgebase\/cpanel-email-filters-create-new-filter.png\" data-lightbox=\"roadtrip\" rel=\"lightbox[940]\"><img class=\"thumbnail\" src=\"\/knowledgebase\/cpanel-email-filters-create-new-filter.png\" alt=\"cPanel Create New Email Filters\" \/><\/a><\/p>\n<\/li>\n<li>Now on create new filter page fill the following:\n<ol>\n<li><strong>Filter Name<\/strong>:Type the name of the new filter.<\/li>\n<li><strong>Rules<\/strong>:From the rules lets describe each filed:\n<ol>\n<li>The first rule filed is filter rule and its criteria <div class=\"well   oscitas-bootstrap-container \">\n<ul>\n<li>From: the sender email address of a message<\/li>\n<li>Subject: subject of the email To: the recipient email address of a message<\/li>\n<li>Reply Address: the address at which the sender receives replies<\/li>\n<li>Body: Contents of the message<\/li>\n<li>Any Header: any part of the header of the email message<\/li>\n<li>Any Recipient: any recipient of the message<\/li>\n<li>Has Not Been Previously Delivered: the system only examines and check\u00a0 messages that remain in the queue for delivery<\/li>\n<li>Is an Error Message: the system only check error messages that an auto response system sends<\/li>\n<li>List ID: the mailing lists of the account<\/li>\n<li>Spam Status: whether Apache SpamAssassin\u2122 marked the message as spam. The Spam Status line begins with Yes or No<\/li>\n<li>Spam Bar: the content of the Spam Bar header that Apache SpamAssassin generated for this message. The more plus signs (+) that Apache SpamAssassin assigns to a message, the greater the likelihood that the system marks the message as spam<\/li>\n<li>Spam Score: the total number of plus signs (+) in the Spam Bar value, expressed as an integer<\/li>\n<\/ul>\n<p><\/div><\/li>\n<li>The second filed on the criteria is an operators to make the comparison method to validate the first filed criteria you have selected if its match the operator conditions,this option has the following option:<div class=\"well   oscitas-bootstrap-container \">\n<ul>\n<li>Equals: the message is exactly the same as the defined string<\/li>\n<li>Matches Regex: the message matches a regular expression that you set<\/li>\n<li>Contains: the message has the string that you define<\/li>\n<li>Does not contain: the message does not contain the string you define<\/li>\n<li>Begins with: the message begins with the defined string<\/li>\n<li>Ends with: the message ends with the defined string<\/li>\n<li>Does not begin: the message does not begin with the defined string<\/li>\n<li>Does not end with: the message does not end with the defined string<\/li>\n<li>Does not match: the message does not match the defined string<\/li>\n<\/ul>\n<p><\/div><\/li>\n<li>the third field is the Criteria , its the value to be validated using the operator and filter rule .<\/li>\n<\/ol>\n<\/li>\n<li><strong>Actions<\/strong>:This option to tell the server what to do with the email message that match the rule you already define and matches the filter,the available Actions options:\u00a0<div class=\"well   oscitas-bootstrap-container \">\n<ul>\n<li>Discard Message: the message will be discarded without failure notice<\/li>\n<li>Redirect to Email: the message is forwarded to a particular email address<\/li>\n<li>Fail With Message: the message will be discarded and automatically sent with failure notice to a sender<\/li>\n<li>Stop Processing rules: the system skips all filter rules<\/li>\n<li>Deliver to Folder: the message will be delivered to a specified folder<\/li>\n<li>Pipe to a Program: the message is sent to a particular program by the system<\/li>\n<\/ul>\n<p><\/div><\/li>\n<\/ol>\n<\/li>\n<li>Click <strong>Create<\/strong> button.\n<p><a class=\"lightbox-image-link\" title=\"Steps for cPanel Create New Email Filters.\" href=\"\/knowledgebase\/cpanel-email-filters.create-new-for-email-account.png\" data-lightbox=\"roadtrip\" rel=\"lightbox[940]\"><img class=\"thumbnail\" src=\"\/knowledgebase\/cpanel-email-filters.create-new-for-email-account.png\" alt=\"Steps for cPanel Create New Email Filters\" \/><\/a><\/p>\n<\/li>\n<\/ol>\n<h2>How to Delete or Edit email filters within cPanel<\/h2>\n<ol>\n<li>Login to your cPanel account.<\/li>\n<li>From the <strong>cPanel Home<\/strong> dashboard, locate <strong>Email<\/strong> section and click<strong> Email Filters<\/strong> Icon.<\/li>\n<li>From the<strong> Email Filters\u00a0 Page<\/strong> select the email account you want to edit\/delete filter and under <strong>Actions<\/strong> click <strong>Manage Filters<\/strong> link.<\/li>\n<li>To delete the email filter for the current email account click Delete link icon.<\/li>\n<li>To delete the email filter for the current email account click Delete link icon.<\/li>\n<\/ol>\n<h2>How to setup global email filter within cPanel<\/h2>\n<p>&nbsp;<\/p>\n<ol>\n<li>Login to your cPanel account.<\/li>\n<li>From the <strong>cPanel Home<\/strong> dashboard, locate <strong>Email<\/strong> section and click<strong> Global Email Filters<\/strong> Icon.\n<p><a class=\"lightbox-image-link\" title=\"Steps for cPanel Global Email Filters.\" href=\"\/knowledgebase\/cpanel-global-email-filters.png\" data-lightbox=\"roadtrip\" rel=\"lightbox[940]\"><img class=\"thumbnail\" src=\"\/knowledgebase\/cpanel-global-email-filters.png\" alt=\"Steps for cPanel Global  Email Filters\" \/><\/a><\/p>\n<\/li>\n<li>From the<strong> Global Email Filters Page<\/strong> click <strong>Create a new Filter<\/strong> button.<\/li>\n<li>now you can follow the same steps that you did in the filter emails<\/li>\n<\/ol>\n<p>just Remember that the global email filters will apply to the entire account on the domain that match the rules you defined.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is cPanel Email Filters cPanel Email Filters is a tool provided by cPanel control panel that allow you to block unwanted messages based upon a certain set of conditions,or route email to another e-mail address and move the incoming email address to certain exiting folder within the configured email account,or pipe the email message [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":295,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[4,151,39],"_links":{"self":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/940"}],"collection":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/comments?post=940"}],"version-history":[{"count":15,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/940\/revisions"}],"predecessor-version":[{"id":955,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/940\/revisions\/955"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media\/295"}],"wp:attachment":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media?parent=940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/categories?post=940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/tags?post=940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}