{"id":20663,"date":"2026-11-22T13:12:45","date_gmt":"2026-11-22T10:12:45","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/cpanel-email-filters\/"},"modified":"2026-11-22T15:03:31","modified_gmt":"2026-11-22T12:03:31","password":"","slug":"cpanel-email-filters","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-email-filters\/","title":{"rendered":"Email Filters in cPanel: Filters for One Mailbox or the Whole Account"},"content":{"rendered":"<div class=\"hkb\" dir=\"ltr\">\n<div class=\"hkb-tldr\"><b>In short<\/b>cPanel has two filtering tools: <b>Email Filters<\/b> for rules on one mailbox, and <b>Global Email Filters<\/b> for rules applied to all mail on your account. Create a filter, choose a condition (such as From contains&#8230;) and an action (discard, deliver to folder or redirect), then save.<\/div>\n<div class=\"hy-vid\"><div style=\"width: 1280px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-20663-1\" width=\"1280\" height=\"720\" poster=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-email-filters-en.jpg\" preload=\"none\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-email-filters-en.mp4?_=1\" \/><a href=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-email-filters-en.mp4\">https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-email-filters-en.mp4<\/a><\/video><\/div><\/div>\n<div class=\"hkb-note\"><b>A customer asked:<\/b> &#8220;I get dozens of newsletters a day from one site and want them in a separate folder, not the inbox.&#8221;<\/div>\n<p>Filters organise your mail automatically: discard spam from a certain sender, move invoices to their own folder, or redirect messages containing a keyword to a colleague. They run on the server, so they apply before the message reaches your phone.<\/p>\n<h2>Two filtering tools<\/h2>\n<div class=\"hkb-tbl\">\n<table>\n<thead>\n<tr>\n<th>Tool<\/th>\n<th>Applies to<\/th>\n<th>When to use it<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Email Filters<\/td>\n<td>One mailbox you choose<\/td>\n<td>Rules for one person or address<\/td>\n<\/tr>\n<tr>\n<td>Global Email Filters<\/td>\n<td>All incoming mail on your account<\/td>\n<td>Blocking a spammer for every address<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>A filter for one mailbox<\/h2>\n<ol class=\"hkb-steps\">\n<li><b>Open Email Filters<\/b> in the Email section of cPanel.<\/li>\n<li><b>Click Manage Filters<\/b> next to the mailbox.<\/li>\n<li><b>Click Create a New Filter<\/b> and give it a name.<\/li>\n<\/ol>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-em-en-e-filters.webp\" alt=\"The Email Filters by Users page in cPanel\" width=\"800\" height=\"451\" loading=\"lazy\" \/><\/figure>\n<h2>A global filter for the whole account<\/h2>\n<p>Open <b>Global Email Filters<\/b> and click <b>Create a New Filter<\/b>. Rules here run in order from top to bottom on all mail.<\/p>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-em-en-e-gfilters.webp\" alt=\"The Global Email Filters page in cPanel\" width=\"800\" height=\"451\" loading=\"lazy\" \/><\/figure>\n<h2>Parts of a filter<\/h2>\n<div class=\"hkb-tbl\">\n<table>\n<thead>\n<tr>\n<th>Part<\/th>\n<th>Examples<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Field<\/td>\n<td>From, Subject, To, Body<\/td>\n<\/tr>\n<tr>\n<td>Condition<\/td>\n<td>contains, equals, begins with, does not contain<\/td>\n<\/tr>\n<tr>\n<td>Action<\/td>\n<td>Discard Message, Deliver to Folder, Redirect to Email, Fail with Message<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>Useful examples<\/h2>\n<ul class=\"hkb-list\">\n<li><b>Block a spammer:<\/b> From contains spam@example.com \u2192 Discard.<\/li>\n<li><b>Sort invoices:<\/b> Subject contains &#8220;invoice&#8221; \u2192 Deliver to Folder: INBOX.Invoices.<\/li>\n<li><b>Route customer requests:<\/b> Subject contains &#8220;order&#8221; \u2192 Redirect to sales@yourcompany.com.<\/li>\n<\/ul>\n<div class=\"hkb-note\"><b>Careful with Discard:<\/b> messages discarded by a filter cannot be recovered. Test a filter by delivering to a folder first, then switch to discard once you are sure.<\/div>\n<p>For spam in general, use <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-spam-filters-spamassassin\/\">Spam Filters<\/a> rather than many manual filters.<\/p>\n<h2>Email Filters or Spam Filters?<\/h2>\n<ul class=\"hkb-list\">\n<li>Spam Filters detects spam automatically without you writing rules.<\/li>\n<li>Manual filters are for specific cases you know: a certain sender or subject.<\/li>\n<li>Start with Spam Filters and add manual filters for what remains.<\/li>\n<li>Order global filters carefully, because they run from top to bottom.<\/li>\n<\/ul>\n<h2>Examples from customer tickets<\/h2>\n<ul class=\"hkb-list\">\n<li><b>A front desk<\/b> created a filter moving payment gateway mail to a Payments folder, leaving the inbox for customers only.<\/li>\n<li><b>A customer filtered on &#8220;contains&#8221; a short word<\/b> and caught many unrelated messages. A tighter rule is &#8220;equals&#8221; or the full sender address.<\/li>\n<li><b>A company needed one rule for all staff<\/b> and used the account-level filter instead of repeating it in every mailbox.<\/li>\n<\/ul>\n<p>For spam in general, do not pile up filters; turn on <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-spam-filters-spamassassin\/\">Spam Filters<\/a>, which draw on thousands of ready rules.<\/p>\n<h2>Frequently asked questions<\/h2>\n<div class=\"hkb-faq\">\n<details>\n<summary>What is the difference between Email Filters and Global Email Filters?<\/summary>\n<p>Email Filters apply to one mailbox; Global Email Filters apply to all incoming mail on your account.<\/p>\n<\/details>\n<details>\n<summary>How do I block a sender?<\/summary>\n<p>Create a filter: From contains their address, action Discard.<\/p>\n<\/details>\n<details>\n<summary>Can I recover a message a filter discarded?<\/summary>\n<p>No. That is why you should test by moving to a folder first.<\/p>\n<\/details>\n<details>\n<summary>Do filters work in my phone app?<\/summary>\n<p>Yes, because they run on the server before mail reaches any app.<\/p>\n<\/details>\n<details>\n<summary>Can I test a filter before using it?<\/summary>\n<p>Yes, the filters page lets you test against a sample message.<\/p>\n<\/details>\n<\/div>\n<div class=\"hkb-rel\"><b>Related guides<\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-email-section-guide\/\">The Email Section in cPanel: A Guide to Every Tool and When to Use It<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-spam-filters-spamassassin\/\">Spam Filters in cPanel: SpamAssassin and the Spam Box Folder<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-email-forwarders\/\">Email Forwarding (Forwarders) in cPanel: Send Mail From One Address to Another<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hyyat.com\/en\/kb\/website-control-panel-cpanel\/\">All cPanel guides \u2192<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In shortcPanel has two filtering tools: Email Filters for rules on one mailbox, and Global Email Filters for rules applied to all mail on your account. Create a filter, choose a condition (such as From contains&#8230;) and an action (discard, deliver to folder or redirect), then save. A customer asked: &#8220;I get dozens of newsletters [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":20634,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2749],"doc_tag":[],"class_list":["post-20663","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-website-control-panel-cpanel"],"year_month":"2026-11","word_count":589,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/www.hyyat.com\/en\/author\/admin\/"},"doc_category_info":[{"term_name":"cPanel Guides","term_url":"https:\/\/www.hyyat.com\/en\/kb\/website-control-panel-cpanel\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/20663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=20663"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/20663\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media\/20634"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=20663"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=20663"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=20663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}