How to Set Up User and Global Email Filters in cPanel

42 views
Short answer: Launch 'Global Email Filters' or 'Email Filters' in cPanel, establish criteria based on subject or sender address, and assign automated routing, filing, or discard actions.

Automate message sorting, drop spam senders, and route critical correspondence using rule-based filter conditions in cPanel.

Before you start: Save a copy of your important emails to your own computer. A full hosting backup also includes your mailboxes. How to take a full backup

Quick reference

Tool Location cPanel > Email > Email Filters & Global Email Filters
Scope Difference Global applies domain-wide; User applies per account
Supported Conditions From, Subject, Body, Has Attachment, Spam Status
Supported Actions Discard Message, Deliver to Folder, Redirect to Email

Steps

  1. Choose Scope: Open Global Email Filters to create server-wide rules, or Email Filters to target an individual email mailbox.
  2. Create Filter: Click Create a New Filter and enter a descriptive name in the Filter Name field.
  3. Define Criteria: Configure rule match statements:
    • Condition 1: From + contains + unwanted sender domain.
    • Condition 2: Subject + contains + spam keyword.
  4. Assign Target Action: Select the disposition action:
    • Discard Message: Silently reject and drop the email.
    • Deliver to Folder: Automatically file the message into a specified subfolder.
    • Redirect to Email: Forward matching messages to an alternate destination.
  5. Save and Validate: Click Create. Use the Filter Test interface to verify rule execution logic against sample headers.

Troubleshooting and tips

  • Rule Execution Order: Filters are processed sequentially from top to bottom. Drag and reorder filter rows in the table to prioritize critical rules.
Need more help? If you run into an error while following these steps, open a ticket with technical support and our team will look into it. Open a ticket
Was this article helpful?
No, I need more help
Didn't find your answer?
Under 3 minutes
Submit Support Ticket