kb: how-to
ABT: Group A
Applicable to:
- Plesk for Linux
Question
How to configure SpamAssassin on Plesk server?
Answer
In order to configure SpamAssassin to manage spam messages using check the following:
Go to Plesk > Tools & Settings > Spam Filter and select server-wide/individual settings for Spam filter using option Apply individual settings to spam filtering
If "Apply individual settings to spam filtering" option is disabled
Settings will be applied server-wide
-
The maximum number of worker spamd processes to run
Set the maximum number of worker spamd processes to run (1-5). We recommend that you use the default value. -
The score that a message must receive to qualify as spam
A message is considered to be spam if the number of hits exceeds the established threshold. By default, the filter sensitivity is set so that all messages that score 7 or more points are classified as spam. If users still receive spam messages with the default sensitivity, increase it by setting a lesser value, for example, 6. If SpamAssassin marks valid messages as spam, decrease the sensitivity by setting a higher value, e.g. 8. -
Add the following text to the beginning of subject of each message recognized as spam
Specify how to mark messages recognized as spam. If it is not required to modify messages subject, leave this box blank. If it is required to include into the subject line the number of points that messages score, type SCORE in this box:
If "Apply individual settings to spam filtering" option is enabled
SpamAssassin settings can be set for each mailbox. To apply them go to Domains > example.com > Email Addresses > john.doe@example.com > Spam Filter.
-
Switch on spam filtering for this email address
Turn on using the SpamAssassin on this mailbox. -
What to do with messages classified as spam Allow to select one of three available options:
Mark spam messages by adding the following text to message subject
If it is not required to modify messages subject, leave this box blank. If it is required to include into the subject line the number of points that messages score, type SCORE in this box.
Delete all spam messages
Spam messages will be deleted from the mailbox.
Move spam to the Spam folder
Move all spam messages to the folder called Spam. This folder is accessible from your mail client program or webmail. If an IMAP mail account is used, the Spam folder can be used for training the spam filter. -
Spam filter sensitivity
A message is considered to be spam if the number of hits exceeds the established threshold. By default, the filter sensitivity is set so that all messages that score 7 or more points are classified as spam. If users still receive spam messages with the default sensitivity, increase it by setting a lesser value, for example, 6. If SpamAssassin marks valid messages as spam, decrease the sensitivity by setting a higher value, e.g. 8. -
White List
Email messages coming from senders in the white list are not checked by the spam filter. -
Black List
Email messages coming from senders in the black list are blocked.
Comments
4 comments
I don't even have Spam Filter in Domains > example.com > Email Addresses > info@example.com
Hello @Kironet, could you specify, do you have SpamAssassin installed?
What version of Plesk and OS do you use?
How to set "Move to SPAM folder" as default option for all inbox/domains?
this option is only shown in per-inbox "Spam Filter" Tab
Hello @Francesco.
This functionality is yet to be implemented in Plesk. Please refer to this article for the workaround.
Please sign in to leave a comment.