How to Manage Spam Filters
Control spam delivery by configuring SpamAssassin and email filters on your {{COMPANY_NAME}} hosting.
SpamAssassin in cPanel
Enable SpamAssassin
- Log in to cPanel.
- Go to Email > Spam Filters.
- Toggle Process New Emails and Mark them as Spam to ON.
Adjust Spam Sensitivity
- Click Spam Threshold Score.
- Lower score = more aggressive filtering:
- 5 (default) — standard filtering.
- 3 — more aggressive (may catch some legitimate emails).
- 7 — more lenient (fewer false positives).
- Save.
Auto-Delete Spam
- Toggle Automatically Delete New Spam to ON.
- Spam emails scoring above the threshold are automatically deleted.
Warning: Be cautious with auto-delete. Start with marking as spam and review your junk folder regularly before enabling auto-delete.
Whitelist / Blacklist
- Click Additional Configurations or Show Additional Configurations.
- Under whitelist_from, add email addresses that should never be marked as spam.
- Under blacklist_from, add addresses that should always be treated as spam.
SpamAssassin in DirectAdmin
- Log in to DirectAdmin.
- Go to E-Mail Manager > Spam Filters or SpamAssassin.
- Enable SpamAssassin.
- Configure the score threshold.
- Add whitelist/blacklist entries.
- Save.
Email Filters (Custom Rules)
In cPanel
- Go to Email > Email Filters.
- Click Create a New Filter.
- Set rules:
- From contains `newsletter` → Move to folder or Discard.
- Subject contains `[SPAM]` → Move to Spam folder.
- Click Create.
In Roundcube Webmail
- Go to Settings > Filters.
- Create rules to auto-sort or delete emails.
Tips for Reducing Spam
- Never post your email address publicly on websites.
- Use contact forms instead of email links.
- Use SPF, DKIM, and DMARC to protect against spoofing.
- Train SpamAssassin by marking emails as spam or not spam.
- Consider using a catch-all address only if necessary.
Related Articles
Need help? Contact our support team at {{SUPPORT_URL}}/client/support.