How to Create Email Filters in cPanel
Posted about 8 months ago 4.6kGlobal vs Account Filters
Two levels: Global (all emails) and per-account filters.
Account Filters
cPanel → Email → Filters → Manage for specific account.
Global Filters (WHM)
Apply to all accounts – useful for spam rules.
Common Filter Rules
Spam to Folder
If Subject contains "Viagra" → Deliver to "Spam" folder
If From contains "noreply@bad.com" → Discard
Useful Filters Table
| Purpose | Rule | Action |
|---|---|---|
| Newsletter sorting | Subject contains "Newsletter" | Move to Newsletters folder |
| Block spam | Body contains specific phrase | Discard |
| Auto-forward | From specific sender | Forward to another email |