If you're filtering mail with procmail, consult this page instead.
Panix makes SpamAssassin available and supports it for filtering spam as it is delivered to your account.
Rather than using specific addresses, SpamAssassin uses a series of tests to look for "key phrases" and other indicators of spam in an email message. Each of these tests has a point value, and the message gets a score that is the total of the points for all the tests it matches. If the score is above a given threshold, the message is treated as spam. You can adjust the point value for any of the tests, and/or you can change the threshold setting. You can also control what happens to mail that scores in the Spam range: You can trash it without looking at it, put it into a special folder of your own choosing, or put it into your inbox with a special header to distinguish it from the rest of your email.
For full details, please see the SpamAssassin web page at http://www.spamassassin.org/.
Because SpamAssassin is third-party software, upgrades may result in changes in the point value of any of the rules. (We make occasional local changes, but they are rare.) We advise users to whitelist addresses they wish to protect.
You'll need to be logged into the Squirrelmail webmail interface to
set up Spamassassin (though Spamassassin will work on all incoming
mail regardless of where you're reading it, Squirrelmail is currently
the only web-based option for configuring it). Go into
Options->Spamassassin.
Here, you'll see a set of tables. The one you'll start with is General Settings, which contains the following options:
Immediately below General Settings is Allowable Locales, which controls
Spamassassin can be configured to exclude email composed in
non-western character sets, such as Cyrillic or Chinese. This
feature depends on
the rules CHARSET_FARAWAY,
and CHARSET_FARAWAY_HEADER. These
rules have a default score of 3.2, which is reasonably strong even
if your Required Hits level is at the default of 5; most unwanted
mail in languages you don't want to read will likely trigger enough
other rules to make up the difference. If you want to make certain
that they are rejected, you can increase the value of the rules to
be equal or greater than your Required Hits level.
To exclude a language set, simply uncheck the box next to its name. As a safety feature, "Western (English/European)" cannot be disabled.
When you're done changing General Settings and Allowable Locales, click on the "Save" button.
"Manage Whitelist" and "Manage Blacklist" control, respectively, senders whose mail you always and never want to receive.
To add a sender to either list, type the address into the text field of the list you want to add it to, and click the "Add New" button. Wildcard addresses, to block entire domains, will also work.
Although it might make sense to use the Blacklist against spam addresses, and although this may even work against some, this is sadly not a practical strategy. More often than not, spam originates from forged or disposable addresses, and blacklisting will either not work against them at all, or will only do so temporarily. The Blacklist is more effectively deployed against specific sources of (for example) harrassment.
This section will, for most users, be completely optional.
Under Manage Spam Rules, you can set new scores for specific tests run by Spamassassin, should you find that their default scoring is too aggressive or not aggressive enough. You will most likely do this in response to obvious spam which is consistently delivered to your Inbox after triggering certain tests (the tests triggered will be visible in the messages "X-Spam-Status:" header).
A list of the tests run by Spamassassin, with brief descriptions, is at http://spamassassin.apache.org/tests.html (use the link marked "Current"). We cannot guarantee that this list will list every test run against your mail, nor that it will list tests which cannot be configured (though if it does, let us know), nor that the descriptions will adequately explain what a given test does.
To alter a test's score, select the test from the pulldown menu, enter a new value in the box, and click the "Personalize Rule" button.
Be careful when making changes here. Many of the rules (particularly those concerning HTML content) can adversely affect legitimate mail.
[ Panix Home ] [ Help System Index ] [ Email and Spam Help Index ] [ Top of This Page ]