- Click the Server shortcut in the navigation pane.
- Click the
SpamAssassin icon in the Services group. - To allow server wide filtering based on the settings you define, select the Server wide settings check box.
- To let your users set their own spam filtering preferences on a per-mailbox basis, select the Personal settings check box.
- Click Set.
Now all the incoming mail will be filtered on the server side. By default, spam filter does not delete spam mail, it only adds the "X-Spam-Flag: YES" and "X-Spam-Status: Yes" headers to the message, and "*****SPAM*****" text string to the beginning of Subject line of each message recognized as spam.
If you have enabled the Personal settings option, then your users will be able to set their spam filters so as to automatically delete junk mail. They will also be able to set up their personal black and white lists of correspondents that will override the server settings, and teach the spam filter on a per-mailbox basis.
- Adjust the spam filter sensitivity by specifying the desired value in the Hits required for spam box.
SpamAssassin performs a number of different tests on contents and subject line of each message. As a result, each message scores a number of points. The higher the number, the more likely a message is spam. For example, a message containing the text string "BUY VIAGRA AT LOW PRICE!!!" in Subject line and message body scores 8.3 points. By default, the filter sensitivity is set so that all messages that score 7 or more points are classified as spam.
- When your users receive lots of spam messages with the current setting, to make filter more sensitive, try setting a lesser value in the Hits required for spam box; for example, 6.
- When your users are missing e-mails because your spam filter thinks they are junk, try reducing filter sensitivity by setting a higher value in the Hits required for spam box.
- Specify how to mark messages recognized as spam.
At the server level, you cannot set the server-wide spam filter to automatically delete spam: you can do it only on a per-mailbox basis. So, for the server-wide policy, you can choose only marking messages as spam: "X-Spam-Flag: YES" and "X-Spam-Status: Yes" headers are added to the message source by default, and if you want, the spam filter will additionally include a specific text string to the beginning of Subject line. To include a desired combination of symbols to the message subject, type it into the by tag box. If you do not want the spam filter to modify message subject, clear the Modify spam mail subject check box.
- To save your changes, click Set.
- If you do not want your users to receive e-mail from specific domains or individual senders, add the respective entries to the spam filter's black list:
- To add an entry to the black list, under the Server-wide black list group, type an e-mail address into the E-mail pattern box. For example: address@spammers.net, *@spammers.net. An asterisk (*) means any combination of symbols—all senders from this domain will be blocked. Click Add.
- To remove an entry from the black list, select it and click Remove.
- If you want to be sure that you and your users will not miss e-mail from specific senders, add their e-mail addresses or entire domains to the spam filter's white list:
- To add an entry to the white list, under Server-wide white list group, type an e-mail address into the E-mail pattern box. For example: address@mycompany.com, *@mycompany.com. An asterisk (*) means any combination of symbols—mail sent from this domain will reach your users. Click Add.
- To remove an entry from the white list, select it and click Remove.
- To specify e-mail accounts for which mail should not be filtered, add the e-mail addresses of your users to the spam filter's ignore list:
- To add an entry, under the Server-wide ignore list group, type a user's e-mail address into the E-mail pattern box and click Add.
- To remove an entry from the ignore list, select it and click Remove.
- Once finished with setting up SpamAssassin spam filter, click Up Level to return to the previous screen.
If you wish to adjust spam filtering settings for a specific mailbox, proceed to the Protecting Mailboxes From Spam section.