Skip to Content
Shared hosting (cPanel)Webmail

Fight spam in Webmail

This section includes features that help you manage your mailbox and protect it from spam.

Spam filters

Use this interface to filter out unwanted spam before it reaches your inbox. The system checks every incoming message with Apache SpamAssassin and gives it a Spam Score: the higher the score, the more likely the message is spam.

Move spam to a separate folder

The safest way to keep spam away without losing important messages is to move it to a Spam folder instead of deleting it. Enable Move New Spam to a Separate Folder, then check the Spam folder in Webmail from time to time to make sure it contains no legitimate messages.

Whitelist and blacklist

  • Whitelist: Addresses or domains whose messages you always want to receive, even if they look like spam, such as *@example.com.
  • Blacklist: Addresses or domains whose messages you always want to mark as spam.

Spam auto-delete threshold

Set a score at which any message that matches or exceeds it is deleted automatically.

Warning

Set the score carefully; this setting permanently deletes any message that reaches or exceeds this score, which may include messages that aren't actually spam.

Configure auto-delete settings:

Select Set a custom threshold.

Enter a number in the custom threshold field. The lower the threshold, the more messages the server discards.

Click Submit.

To disable auto-delete, select Disable Spam Auto-Delete, then click Submit.

BoxTrapper

Use BoxTrapper to filter spam out of your inbox using challenge-response verification to confirm the sender's identity: the system sends the sender a verification message, and they must complete the process before their message reaches your mailbox.

Enable BoxTrapper

Click Enable.

Note

When BoxTrapper is enabled, the system automatically adds the addresses you send mail to to the whitelist, even if you disable the auto-whitelist option.

BoxTrapper settings

Configure the settings:

Click Configure Settings.

Enter the email addresses that forward messages to this account, separated by commas.

Enter your name in the Your Name field.

Enter the number of days you want to keep logs and messages in the queue.

Enter the minimum SpamAssassin score required to bypass BoxTrapper.

Note

When a message arrives with a score below this threshold, the system delivers it automatically. The default value is -2.5.

Enable or disable auto-whitelisting as needed.

Reminder

BoxTrapper automatically adds any email address you send a message to to the whitelist.

Select the Automatically whitelist the To and From lines from whitelisted senders checkbox to add the addresses in the To and CC fields of messages that come from already-whitelisted addresses.

Click Save.

Edit confirmation messages

BoxTrapper replies automatically with messages it builds from the following templates:

  • blacklist — sent when an address on the blacklist emails you.
  • returnverify — sent when verification fails.
  • verifyreleased — sent when someone replies to the verification message or clicks the verification link.
  • verify — sent when an address that isn't on the whitelist or blacklist emails you, asking the sender to confirm they are a real person.

To customize the verification and blacklist message templates, click Edit (or Reset to Default to restore the original template). You can use the following variables in the templates:

  • %email% — the sender's email address.
  • %fromname% — the recipient's name.
  • %subject% — the subject of the sender's message.
  • %acct% — the recipient's username.
  • %msgid% — the sender's message ID.
  • %headers% — the headers of the sender's message.
  • %if can_verify_web%...%endif% — two tags that wrap a section allowing BoxTrapper to verify senders through a web link.
Warning

Don't edit the verify#%msgid% text in the subject of the verification message template; BoxTrapper needs it to work correctly.

Edit the lists

Click Edit White/Black/Ignore Lists.

Select the list you want to edit.

Enter the messages, subjects or email addresses you want to filter.

Click Save.

BoxTrapper lists

The system compares every new incoming message against the following three lists:

  • Whitelist — messages are delivered directly to the inbox.
  • Ignore list — messages are deleted without notification.
  • Blacklist — messages are deleted and the sender receives a reply saying the system blocked their message.

Forward list

Click Forward List to update the account's forward list. Enter the email addresses you want to add, then click Save; the system will automatically forward messages from whitelisted addresses to these addresses.

Review the log

The system organizes this log by day and shows all activity for an email address that uses BoxTrapper; use it, for example, to identify mail delivery problems.

Review the queue

Click Review Queue to view BoxTrapper's unverified messages.

To deliver or delete messages: Select the checkbox for the day you want, choose Delete or Whitelist and Deliver, then click Submit.

To view a message's content: Click the sender's name, the subject or the date to view the full message with its headers and additional delivery options (such as ignoring the sender or adding them to the blacklist), choose the action you want, then click Go.

How is this guide?

On this page