Knowledge Base

Learn to use Plesk Spam Filter to remove unwanted e-mail from your inbox.

This article describes how to use the Spam Filter in Plesk to reduce the amount of unwanted e-mail (spam) in your e-mail accounts. Spam Filter is an automated filtering system that uses a variety of techniques to identify and filter spam messages.

Spam Filters

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 Spam Filters, it scores various characteristics of a message to determine if it is spam. You can manage messages that Spam Filters 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.

Enabling Spam Filters

Spam Filter is configured by the account administrator unless the 'Configure spam filter' permission is set for the the e-mail user. If the e-mail user has permissions, the Spam Filter tab will appear when they log into the email user control panel. Configuration is the same as for the administrator as shown below.

To enable Spam Filters in Plesk, follow these steps:

  1. In the management area of the Plesk home screen, click Email Addresses to go to the Mail page.

  2. On the Mail page, click the e-mail address to be protected with spam filters.

  3. On the email account page, click the Spam Filter tab.

  4. Check the box Switch on spam filtering for this email address to turn on spam filtering.

  5. Select one of the options under What to do with messages classified as spam.

    • Mark spam messages by adding the following text to message subject
      The default text is ***SPAM*** but can be changed as desired. There is also the possibility to add text to the body of the message. Both of these things can be useful when setting up automated mail handling in an e-mail client.
    • Delete all spam messages
      This is not recommended as you cannot recover a message that was incorrectly marked as spam.
    • Move spam to the “Junk E-mail” folder or Move spam to the Spam folder.
      This option allows recovery of messages incorrectly marked as spam. this folder can become large over time and consume substantial disk space. It should be regularly reviewed and emptied.
  6. Click OK to save your settings and return to the Mail page or click Apply to save your settings and return to the General tab for the user.

Advanced Spam Filter Settings

You can customize the parameters to control how Spam Filters examines incoming messages. You can also define whitelists (trusted senders) and blacklists (known spammers) and other options.

To customize Spam Filters in Plesk, Follow these steps:

  1. Click Show Advanced Settings on the Spam Filter tab. The following advanced settings can be configured:

    • Filter Sensitivity
      Change the number in the Spam filter sensitivity text box to filter more or less spam. Scoring ranges from 1 to 10. Using higher scores means more messages will be marked as spam. However, this also means you may miss some legitimate messages and need to check your junk mail folder more often.
    • White List
      Enter domains or e-mail addresses of trusted senders in the White list textbox. Domains and addresses entered in the box will always pass the spam filter.
    • Black List
      Enter domains or e-mail addresses of spam senders in the Black list textbox. Domains and addresses entered in the box will never pass the spam filter.

      The following settings are only available on Windows servers:
       
    • Trusted Languages
      Select one or more languages in the Availble: list box and then click the >> button.
    • Trusted Locales
      Select one or more locales in the Availble: list box and then click the >> button.
    • Trusted Networks
      Add IP addresses and masks of trusted servers in the IP addresses text box. This can be useful when using a third-party filtering service.
  2. Click OK to save your settings and return to the Mail page or click Apply to save your settings and return to the General tab for the user.

Disabling Spam Filters

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

To disable Spam Filters in Plesk, follow these steps:

  1. In the management area of the Plesk home screen, click Email Addresses to go to the Mail page.
  2. On the Mail page, click the e-mail address where spam filters will be removed.
  3. On the email account page, click the Spam Filter tab.
  4. Un-check the box Switch on spam filtering for this email address to turn off spam filtering.
  5. Click OK to save your settings and return to the Mail page or click Apply to save your settings and return to the General tab for the user.