Email

How to Create an Email Filter in cPanel

Automatically sort, delete, or redirect incoming emails based on rules you define.

Email filters let you automatically handle incoming mail based on sender, subject, content, or other criteria.

Step 1: Open Email Filters

Log in to cPanel → Email → Email Filters (for a specific account) or Global Email Filters (for all accounts on the domain).

Step 2: Create a Filter

Click Create a New Filter.

Step 3: Define Rules

  • Filter Name — give it a descriptive name
  • Rules — set conditions (e.g., "From contains @spammer.com", "Subject contains SALE")
  • Actions — choose what to do: Discard, Redirect, Send to Folder, Pipe to Program

Common Filter Examples

Block spam from a domain:

  • Rule: From → contains → @unwanted.com
  • Action: Discard Message

Auto-sort newsletter emails:

  • Rule: Subject → contains → [Newsletter]
  • Action: Deliver to Folder → Newsletters

Tips

  • Test filters on low-impact mail before using "Discard" on important rules
  • Filters run in the order listed — drag to reorder
  • Use SpamAssassin for broader spam filtering

Want us to handle it?

330 Hosting can do this for you.

Use the guide above if you want to do it yourself. If you would rather avoid breaking email, DNS, files, SSL, or WordPress, our support team can help.