![]() |
|
|
|
![]() |
![]() ![]() |
SpamAssassin SpamAssassin is a powerful tool to help solve the Spam Problem. SpamAssassin applies a number of tests to an incoming message, and each test returns a score. If enough tests return a combined score that is high enough (the default is 5), SpamAssassin can tag the message as being spam. Once a message has been tagged, there are a number of possible actions that can be taken with the message, such as automatic deletion, return to sender, or forward to recipient. Tagging and actions can be handled either as a system-wide or on a user-specific basis. Installation and Configuration To install or configure SpamAssassin, connect to your Virtual Server via Telnet or SSH and run the following command.
This applies SpamAssassin tests to every email message that arrives on your Virtual Server, regardless of the intended recipient. While scanning every incoming message for spam characteristics is a good idea, you may want to have the system settings simply tag messages and deliver them normally. This avoids accidentally losing the occasional legitimate message that has spam-like characteristics (a.k.a "false positive" results). User-Specific Filters - For individual users, different methods of dealing with spam may be preferred. The user specific settings allow you to set up specific users with different ways of dealing with messages tagged as spam. Actions based on Score Once a message has been tagged, SpamAssassin will do one of the following with the message, depending on your system and user settings.
Deliver Spam to a special mailbox. Untagged messages will be delivered as usual, but tagged messages will be delivered to a special mailbox (or IMAP folder). This is a good user level setting for IMAP users who don't want potential spam cluttering their INBOX, but want to have the option to check through to see if there's anything important among the tagged messages. Deliver spam to a special mailbox and forward non-spam to another address. If a user has another account that they forward their messages to, this allows you to filter out spam before forwarding the messages to their account Forward Spam to another address. By doing this, non-spam is delivered normally, but spam can be forwarded to an account on a different server. Delete Spam. This is not a recommended option, since some spam may in fact be legitimate. However, you can select to have all messages tagged as spam deleted, either on a system level, or just for specific users. Delete Spam and forward non-spam to another address. Again, this is not recommended, but you can have all the tagged messages deleted before forwarding un-tagged messages to a remote email account. Logging Activity SpamAssassin can be configured to keep a log of its activity. Logs can be useful in tracking down problems and errors, but like any other log file, your SpamAssassin logs will need to be cleared out occasionally to prevent them from using up all your disk space. You can use cron to archive or empty your spam log files. The vinstall module for SpamAssassin only configures the most basic settings required to get SpamAssassin working on your Virtual Server. SpamAssassin has a number of additional configuration options which can be set by editing specific configuration files. Removing SpamAssassin Use the following command:
Documentation You can access the man pages using the following commands:
% man Mail::SpamAssassin::Conf |
|
![]() |
[ SERVERS | ECOMMERCE | SUPPORT | SPECIALS | SEARCH | SITE MAP | ORDER] [ HOME | CONTACT US | ABOUT US | PRIVACY | LEGAL | REFUND POLICY ] © Copyright 1998 - 2001 Blue Reef Consulting, Inc. All Rights Reserved. Comments or questions about this web site? Write to webmaster@bluereef.net. Phone: (305) 274-8393 |