SpamAssassin Spam Filter is a kind of Filter which recognizes Spam Messages from all the Emails sent to the Mailboxes that are Hosted on the Plesk Server. The following text is to tell you all about the SpamAssassin Spam Filter (What is it, How to enable it and How to Configure the Spam Protection). Plesk allows to Configure various SpamAssassin Settings and all the Settings are described in the following text.

Various Spam Assassin Settings :

1. Filter Sensitivity of Spam : SpamAssassin performs various tests on the contents as well as on subject line of every message thus every message scores points and the message with higher points means it might be a spam message. This Points Sensitivity is set on 7 which mean any message with points more than 7 will be classified as Spam. If you want to prevent more messages then you should set the Senility to less point.

2. Spam Marks : Server Level not has server wide spam filter which automatically delete the spam and you can only do it on per-mailbox basis. If you want to get a server wide policy then you should choose only the way of treating messages as spam i.e. X-Spam-Flag: YES and X-Spam-Status: Yes.

3. Limit the Load on Server : A large number of Emails Analyzing a can put load on your server so you should define the maximum size of messages to check by the Spam Filter to avoid this. The other way to limit the load is to define the SpamAssassin Processes or Threads (on Linux or Windows) which can easily run simultaneously. If you want to do this in Plesk for Linux, then you can configure the maximum SpamAssassin Processes from the Plesk GUI is 32. You can add the following lines to the panel.ini file for if allowing more SpamAssassin processes to run simultaneously -:

Code:
[mail]

spamAssassin.maxChildrenLimit = 80
Here “80” can be replaced with any numeric value as it is the "Maximum Number of SpamAssassin Processes” which can be easily configured in the Plesk Graphical User Interface (GUI).

4. Black and White Lists : SpamAssassin allows you to mark some certain senders as Black and White listed. For Black List, SpamAssassin adds the USER_IN_BLACKLIST mark to the header of each email from the sender and the email will be processed as spam.

Switching on SpamAssassin : Here are the simple steps from which you can Switch on SpamAssassin -:

1. Login to Plesk.

2. Click on “Tools & Settings” >> Then click on “Spam Filter” (in the Mail group).

3. Select "Switch on server-wide SpamAssassin spam filtering" option.

4. Select the "Apply individual settings to spam filtering" option as it will let your users to enable their own spam filtering according to their need on a per-mailbox basis.

5. In the field “Maximum number of worker spamd processes to run (1-5)”, specify the maximum number of SpamAssassin processes (Default Value is Recommended).

6. Type the desired value in "The number of points a message must score to qualify as spam" field to specify the spam filter sensitivity (by Default it is 7).

7. In that field you can "Add the following text to the beginning of subject of each message recognized as spam", specify how to mark spam messages. If you don't want to modify message subject then you can leave this box blank and if you need to know the number of points that messages score into the subject line then type _SCORE_ in this box.

Steps to specify the maximum number of Mail Size for SpamAssassin :

If you want to decrease load which caused by SpamAssassin on your server then you should put a limit to the maximum size of mails which SpamAssassin should analyze. This maximum size will let all messages with the size higher than the specified size to be delivered to recipients without any check. Now the question arises how to specify limit toSpamAssassin messages -:

1. Open the configuration file /etc/psa/psa.conf for editing.

2. In the parameter SA_MAX_MAIL_SIZE, specify the value in bytes. By default it is 256000 bytes which is recommended to be set to 150 - 250 Kbytes.

Configuring White Lists and Black Lists:

1. Go to Tools & Settings >> click on “Spam Filter Page” >> Black List or the White List Tab.

2. Click on “Add Addresses”.

3. Add the list of entries which you want to add.

4. Separate the addresses with a colon, comma, a or space.

5. Finally Click OK.

6. If you want to remove any entry from Black or White List then select the entry from the corresponding tab and click Remove.
Author
Bhawani Singh
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Bhawani Singh

Top