How to Use SpamAssassin - Advanced
Apache SpamAssassin can be highly customized to suit different scenarios and environments. This article provides links to information and tools which will be useful for advanced SpamAssassin users.
- Welcome to SpamAssassin - Master index to available resources.
- Frequently Asked Questions - More detailed information on specific recurring issues.
- SpamAssassin Tips - Help with fine tuning, false positives, performance tips.
- Other Tricks For Blocking Spam - Fake MX records! Greylisting! Adjusting latency to mess with spammers' heads! Some ASF-recommended non-SpamAssassin techniques for mitigating spam.
- Third Party Software for SpamAssassin - Open source web interfaces, analyzers, custom rulesets and more. (Also includes links to commercial services and applications.)
Configuration File Generator
The following external link directs you to a tool to generate a new SpamAssassin configuration file:
Once you generate the new file, save it as /home/cpuser/.spamassassin/user_prefs on your account. You can then manually edit the file. A few useful options are listed below:
- required_score - Defines the required score for SpamAssassin. 5 is default; 1 is the most strict (allows the least amount of spam but may filter too much); 10 is the least strict (allows the most amount of spam but may filter too little).
- whitelist_from - Allows email from the specified address or domain. Syntax is:
whitelist_from [email protected]
- blacklist_from - Denies email from the specified address or domain. Syntax is:
blacklist_from [email protected]
For complete information on SpamAssassin configuration file options, see this article from the Apache Software Foundation: