How do I set up spam filtering for my server?
Introduction
The following guide will show you how to mange the spam filter settings for your (gs) Grid-Service.
MailProtect (Global Settings)
- Log into your AccountCenter.
- Click on your primary domain.
-
Click on MailProtect (Anti-Spam).

-
Configure your settings:
Delivery

-
Move spam into IMAP subfolder - This is useful if you use webmail or the IMAP protocol to check your mail. This will move any spam mail to a spam folder in your IMAP account.
NOTE:
You may need to subscribe to the spam folder before you can see it. Check with your email client software documentation.
- Add tag to the spam's subject - This is useful if you are going to check your mail with a third-party email client on your desktop. You can use the rules available in your mail client to perform various actions like moving the messages to a folder, deleting them, flagging them, and so on.
- Delete the spam - The message will be deleted from the server entirely. You would not be able to retrieve any emails that were deleted permanently using this method.
- Do nothing - MailProtect will still scan the emails and apply a spam score in the mail headers themselves, but will not modify or move any messages. This is useful if you would rather have a client-side program to filter your messages based off the spam score provided in the headers. Rules set by entries in the Allow/Block list are still honored.
Spam level

-
Please choose a spam level between 1 and 10 (Default is 5).
- 1 blocks the most spam
- 10 blocks the least amount of spam
Allow list

-
Here, you can list any friendly email address or domain name to prevent them from being filtered by your MailProtect. Each email address should be placed on its own line. The following are two different examples of how you can list addresses:
- kbuser@mt-example.com
- @mt-example.com
Block list

-
Here you can list any email address or domain name to assure they are always filtered as spam. Each email address should be placed on its own line. The following are two different examples of how you can list addresses:
- kbuser@mt-example.com
- @mt-example.com
TIP:
The Allow and Block lists for mail protect are compared against Envelope-From, also know as the Return-Path header. These Return-Path Headers are not always the same as the standard From header. For information on how to find the Return-Path Headers please read: Understanding a Email Header.
-
Move spam into IMAP subfolder - This is useful if you use webmail or the IMAP protocol to check your mail. This will move any spam mail to a spam folder in your IMAP account.
MailProtect Settings for Specific Email User
- Log into your AccountCenter.
- Click on your primary domain.
-
Click on Email Users.

-
Click on edit for the user.

-
Adjust the User's MailProtect Settings:
- Global Settings: Sets user to use the global settings which you configured as above.
- Use Custom Settings: Allows you to set custom settings only applied to the user.
- Disable Spam Scanning: Allows you to disable MailProtect for the user.
TIP:
An email user can also login and change these settings from uControl.
Mail by (mt) webmail interface
Anti-Spam Settings
Spam FilteringYou may select to use Global Site Settings (this is determined by your domain's administrator within the AccountCenter), Custom Settings, or Disable spam filtering.
Spam Filter SensitivityThis is available when you select Custom Settings. Select the sensitivity for classifying messages as Spam. A lower score will be more aggressive for marking spam.
Message HandlingThis is available when you select Custom Settings. Make your selection from the options: Mark as Spam (default), Move to Spam folder, or Purge Message.
Whitelist SendersThis is available when you select Custom Settings. Specify a list of email addresses and domains to whitelist. Each entry must be on its own line. Any email or domain that matches will automatically be flagged as trusted without being classified as Spam.
Blacklist SendersThis is available when you select Custom Settings. Specify a list of email addresses and domains to blacklist. Each entry must be on its own line. Any email or domain that matches will automatically be classified as Spam.
FAQs
How can I verify that MailProtect is working?
Log into an outside email address and send a message with the following text in the body:
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
The subject is not important. This email should always be labeled as spam unless the sender is in the "Allow List".
Overview
Set up your spam filter to reduce the amount of spam in your inbox.
Instructions
TIP:
If the screenshots you see here don't match your version of Plesk, please see the (dv) Dedicated-Virtual Server 3.5 section. These screenshots are for the (dv) Dedicated-Virtual Server 4.0 and Plesk 10.
-
Log into the Plesk Control Panel for your domain. See Figure 1:

Figure 1. The Plesk Control Panel. Click for a larger view.TIP:
If you log into Plesk with the admin user, you will be in the Server Administration Panel by default. To get to the Control Panel, click on Domains, then on the Control Panel link next to your domain.
You can also create a user that will log into the Control Panel by default, which will save you a few clicks on day-to-day webmaster tasks. See Control Panel user.
- Click on the Mail tab at the top. See Figure 2:
- Click on your email address in the list. See Figure 3:
- Then, click on the Spam Filter tab. See Figure 4:
-
Check the box to switch on the spam filter. See Figure 5:

Figure 5. Click on Switch on spam filtering for this e-mail address.You can now click OK, and spam will be enabled with default settings. You're done!
Your spam filter is now enabled.
White and Black Lists
-
If you want to change the default settings, click on Show Advanced Settings. See Figure 6:
-
Here, you can change the filter sensitivity, or add email addresses to your White list or Black list. For the sensitivity, a lower number will make the spam filter stricter, and a higher number will allow more messages through. Click OK when you're done. See Figure 7:

Figure 7. Change your spam filter sensitivity, and access your block and allow lists.
TIP:
Once spam filtering is enabled, you can improve its accuracy by manually moving spam messages into the Spam folder. This MUST be the spam folder on the server - either the one in webmail, or an IMAP Spam folder in your local email client.
Further reading
Overview
SpamAssassin is the default spam filtering software that comes with Plesk on your (dv) Dedicated-Virtual Server. You can configure spam settings for the overall server settings and for individual email users.
End of Life Warning
This service has a pending End of Life. Please move to a current service as soon as possible. For more information, please see: (dv) Dedicated-Virtual 4.0: Migration Information.
Video Tutorial Series
Server settings
To set up the overall server spam settings, click here. This is the Parallels documentation for Plesk 8.6.
Individual settings
The SpamAssassin controls for individual mailboxes work just like the ones for the server as a whole.
- Log into Plesk.
-
Click on Domains on the left.

- Click on your domain.
-
Click on Mail.

- Select the email address.
-
Click on Spam Filter.

- Now, visit the Parallels documentation. It has detailed instructions on using the SpamAssassin interface to tweak your personal settings, and on how to enable individual spam filtering. You can also see Enable SpamAssassin filtering for Plesk users for assistance with enabling individual spam filtering.
Change threshold
- Log into Plesk.
-
Click Server on the left.

-
Click Spam Filter.

- Update The score that a message must receive to qualify as spam to your desired number. If too much spam has been getting through, make it the number lower (stricter). If good messages are getting flagged, make the number higher (less strict).
- Click OK.
Black and White Lists
If you have added an email address to your Black List or White List, and it's not being filtered as desired, you may need to add a different line to the list. See How can I block specific incoming emails? for details.

