
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.
Panix users can enable Spamassassin either from the webmail interface or via procmail. It is not a good idea to use both. (Not only does it waste system resources, it complicates the process of determining what might have happened to a given piece of mail.)
You might think that SpamAssassin would also be good for blacklisting spammers' addresses, but this is not the case. First, spammers tend to use one-time addresses, or forge legitimate addresses. Blacklisting these accomplishes nothing and might cause mail from legitimate senders to be trashed. Also, the file that contains these addresses becomes bloated. Once the file becomes too large (over 1024 non-blank lines), SpamAssassin stops working entirely. Blacklisting is fine for dealing with small numbers of specific known addresses-- former friends whose email is no longer welcome, say.
It's quick and easy to set up SpamAssassin from webmail. Start by logging into Web mail at https://mail.panix.com/.
Make sure your browser accepts cookies. The Web mail interface is more than just a mail reader. It includes a full-featured Options page where you can adjust the preferences of your Panix email account, without having to log into the shell. To activate SpamAssassin, just:
Under "Allowable Locales," you'll find a list of languages with checkboxes. Should you not wish to receive any mail in one of these languages (such as Russian or Chinese), simply uncheck the box. This feature relies on the rules "CHARSET_FARAWAY", "CHARSET_FARAWAY_HEADER", and "CHARSET_FARAWAY_BODY". You might need to increase the scoring of these rules under the "Manage Spam Rules" table, possibly as high as your "Required Hits" level.
For more information about Squirrelmail preferences and tweaking SpamAssassin settings in Squirrelmail, see http://www.panix.com/help/mail.newmail.intro.html.
If your instructions do not include the word "procmail" you are not running procmail at all, so you aren't running Spamassassin from procmail.
If your instructions do include the word "procmail" you are probably (but not necessarily) running procmail, and you may be running Spamassassin from procmail. In this case you will need to log into your shell account and look at your procmail setup files or ask staff to check for you.
INCLUDERC=/net/local/filters/rc.spamassassin
This uses spamc, a version of SpamAssassin that works as a
client with a daemon running on the server. Please do not use
/usr/local/bin/spamassassin with procmail.
install-procmail
The Procmail installer will ask you if you'd like to use SpamAssassin, among other things. Say yes. :)
If you want to use a spambox, just set TRASH equal to the place where you want your spambox. For example, if you use Pine and you want your spambox to be a plain Pine folder called "spam", you'd add (or change) the $TRASH line in your .procmailrc to:
TRASH=$HOME/mail/spamIf you're using Procmail in conjunction with the New Mail system, you can set your TRASH equal to your New Mail "Trash" folder, thusly:
TRASH=$HOME/.maildir/.Trash/(That ending slash tells Procmail that it's a New Mail folder, so don't forget it!)
Important: If you are adding or moving the $TRASH line, make sure you put it before any of the INCLUDERC lines that need that setting.
(In case you're wondering why it's sometimes "TRASH" and sometimes "$TRASH": using the $ means "figure out the value of this variable and use that", and without the $ it's just the name of the variable.)
Created directory /net/u/17/f/fff/.spamassassin. Created file /net/u/17/f/fff/.spamassassin/user_prefs.and nothing further will happen.
You can restrict the mail you receive based on the character set in which it was composed. This will allow you to block spam sent (for example) using Chinese or Cyrillic characters.
First, you'll need to add the following line to user_prefs:
score
FARAWAY_CHARSET [$score]
Where $score is a number equal to your Required Hits level.
Next, you'll need to define only the languages you want to receive mail in. Using the locale codes, add the following line to user_prefs:
ok_locales [$locale
codes]
If, for example, you only wanted to receive mail in English, French, and Spanish, the line would read as follows:
ok_locales en fr es
Mail composed with any of the other character sets would be filtered as spam.
|IFS=' ';exec /usr/local/bin/procmail||exit 75
It might also have a number sign and your username at the end; that's okay. But if it doesn't include this line, then you probably need to run "install-procmail" again.
VERBOSE=no #Set VERBOSE to yes for advanced debugging
PMDIR=$HOME/.procmail
MAILDIR=$HOME/mail
LOGFILE=$PMDIR/log
TRASH=$MAILDIR/spam
INCLUDERC=/net/local/filters/rc.spamassassin
You can also change the TRASH line to TRASH=/dev/null if
you'd rather have SpamAssassin delete all suspected spam as soon as
it's received.
- af Afrikaans
- ar Arabic
- be Belarussian
- bg Bulgarian
- ca Catalan
- cs Czech
- da Danish
- de German
- el Greek
- en English
- eo Esperanto
- es Spanish
- et Estonian
- eu Basque
- fi Finnish
- fr French
- gl Galician
- he Hebrew
- hr Croatian
- hu Hungarian
- hy Armenian
- id Indonesian
- is Icelandic
- it Italian
- ja Japanese
- kk Kazakh
- ko Korean
- lt Lithuanian
- mn Mongolian
- nb Norwegian (Bokmål)
- nl Dutch
- no Norwegian (Nynorsk)
- pl Polish
- pt Portugese
- ro Romanian
- ru Russian
- sk Slovak
- sl Slovene
- sr Serbian
- sv Swedish
- tr Turkish
- uk Ukranian
- zh Chinese