How to manage unwanted e-mail with SpamAssassin Print

  • 1

How to use the SpamAssassin™ tool in cPanel to reduce the amount of unwanted e-mail (spam) in your e-mail accounts. SpamAssassin is an automated filtering system that uses a variety of techniques to identify and filter spam messages.

SpamAssassin

Spam can be a major annoyance, with messages filling up users' inboxes. Additionally, spam messages can contain virus attachments or malicious links.

When you enable SpamAssassin, it uses scores to rate the likelihood that a message is spam. You can manage messages that SpamAssassin marks as spam in a number of ways. For example, you can route messages marked as spam to specific folders, or you can automatically delete them.

Although you can configure SpamAssassin to automatically delete messages marked as spam, we do not recommend enabling this feature. Instead, you should use a filtering rule that redirects suspected spam messages to a spam folder.

Enabling SpamAssassin

To enable SpamAssassin in cPanel, follow these steps:

  1. In the Mail section of the cPanel home screen, click Spam Assassin™.
  2. Click Enable Spam Assassin.
  3. To enable auto-deletion of spam messages, select a score level under Filters, and then click Auto-Delete Spam. Alternatively, to disable auto-deletion of spam messages, click Disable Auto-Delete Spam.
A lower score is more restrictive. In other words, an auto-deletion score of 1 is very aggressive, and will delete many messages. An auto-deletion score of 10 is more permissive, and will let more messages through without deleting them.

Configuring SpamAssassin

After you enable SpamAssassin, you can configure message scoring parameters to control how SpamAssassin examines incoming messages. You can also define whitelists (trusted senders) and blacklists (known spammers).

To configure SpamAssassin in cPanel, follow these steps:

  1. In the Mail section of the cPanel home screen, click Spam Assassin™.
  2. On the SpamAssassin page, click Configure SpamAssassin.
  3. In the required_score text box, type the number of hits required until a message is marked as spam.

    Any message that has a score greater than the required_score value is marked as spam.

  4. In the score text boxes, you can assign scores to specific tests that SpamAssassin uses to examine incoming messages.
  5. In the blacklist_from text boxes, you can specify e-mail addresses that are known spammers.
  6. In the whitelist_from text boxes, you can specify e-mail addresses that are trusted senders.
  7. To save the new configuration, click Save.

Disabling SpamAssassin

You can disable Spam Assassin whenever you want. For example, if you are unable to receive a non-spam e-mail message, you can disable SpamAssassin and ask the sender to resend the message so it reaches your account.

To disable SpamAssassin in cPanel, follow these steps:

  1. In the Mail section of the cPanel home screen, click Spam Assassin™.
  2. Click Disable Spam Assassin.

More Information



Was this answer helpful?

« Back