Spam and Clam Assassin (NOT FINISHED)
Spam Assassin 3.1.4 and Clam Assassin 1.2.3 is now available for use. Spam Assassin is used to identify emails which has spam characteristics while Clam Assassin uses Clam Anti-Virus to identify virus signatures. Short instructions are available to add Clam Assassin Only if the Spam Assassin check has been implemented.
Neither Spam Assassin nor Clam Assassin are enabled by default. Even though these are some of the best tools available, they are also known to filter out valid emails too. They are to be used at your own risk.
Setting Up Spam Assassin and Clam Assassin
1. Log into your CSEE UNIX shell account.
2. Edit/create a ~/.forward file in your home directory (this sample .forward can be downloaded here. )
- You want a single line which pipes all mail to procmail as shown here (replace your_username with your actual username):
"|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #your_username"
"|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #brianb"
3. Edit/create a ~/.procmailrc file (this sample .procmailrc can be downloaded ).
- If you do not have a .procmailrc file, this is needed:
- ^X-Spam-Status: Yes
| /cs/bin/clamassassin :0: * ^X-Virus-Status: Yes virus
* If you have a working .procmailrc file, copy all of the lines above except for the line beginning with MAILDIR and place them near or at the top of your rules.
- Let a few emails arrive. Spam Assassin will automatically create a .spamassassin directory and files within that directory.
- Frequently review your "caughtspam" mail folder. Messages older than 60 days will automatically get purged. Messages that are identified as viruses will be stored in the "virus" mail folder. Do not attempt to open any e-mails placed in the "virus" folder since they may take advantage of a bug in a mail client and automatically execute. Please contact the CSEEIT Systems group if you need to safely review any message with viruses.
- Options are available in the ~/.spamassassin/user_prefs file to better catch spam messages (and better prevent false positives). See the "User Preferences" section in the Spam Assassin Configuration Page for details.