Ultra Web Hosting Docs

Spam Filters

SpamAssassin is the built-in spam filtering engine on your hosting account. It scores incoming messages and marks or discards those that look like spam.

Enabling SpamAssassin

  1. Log into cPanel and go to the Email section.
  2. Click Spam Filters.
  3. Toggle Process New Emails and Mark them as Spam to on (if not already enabled).

Once enabled, SpamAssassin analyses every incoming message and assigns it a spam score. Messages that exceed the threshold are marked with ***SPAM*** in the subject line.

Auto-Delete Spam

By default, spam is only marked, not deleted. To automatically discard high-scoring spam:

  1. On the Spam Filters page, toggle Auto-Delete Spam to on.
  2. Set the Spam Threshold Score. The default is 5. Messages scoring at or above this value will be deleted.
Warning Auto-deleting spam means the messages are permanently discarded — they cannot be recovered. Start with a higher threshold (e.g. 7 or 8) and lower it gradually if needed, so you do not accidentally lose legitimate mail.

Understanding Spam Scores

SpamAssassin evaluates dozens of characteristics of each message and assigns point values. Here is a general guide to scores:

Tip A threshold of 5 is the industry standard default. If you find that legitimate emails are being marked as spam, raise the threshold to 6 or 7. If too much spam is getting through, lower it to 4.

Whitelisting and Blacklisting

You can manually whitelist (always allow) or blacklist (always reject) specific email addresses or domains.

Adding a Whitelist Entry

  1. On the Spam Filters page, click Show Additional Configurations (or Configure SpamAssassin on older cPanel versions).
  2. In the Whitelist (Emails Always Allowed) section, enter the email address or domain you want to allow. Use the format *@example.com to whitelist an entire domain.
  3. Click Update Preferences.

Adding a Blacklist Entry

  1. In the same configuration area, find the Blacklist (Emails Never Allowed) section.
  2. Enter the email address or domain to block.
  3. Click Update Preferences.

Filtering Spam in Your Email Client

If you prefer not to auto-delete spam, you can use your email client's built-in rules to sort spam-marked messages:

Reducing Incoming Spam

In addition to SpamAssassin, these practices help reduce the volume of spam you receive: