SpamAssassin Configuration Generator

SpamAssassin 3.x Version

This tool is designed to make it easier to customize an installation of SpamAssassin with some common options. After you answer the questions below, a SpamAssassin configuration file matching your choices will be displayed, and you can download it and use it with your SpamAssassin installation.

This is designed to work with SpamAssassin 3.x only. It will not work correctly with previous versions. There is also a SpamAssassin 2.5x version. If you are using a version later than 3.1, this may not work. Contact me for information about a newer version.

Threshold and Report Options

Score Threshold: Anything above the threshold is marked as spam. Increasing this threshold will increase the amount of spam missed, but will reduce the risk of false positives. (required_score)
Low Threshold (5.0, default)
Medium Threshold (7.5)
High Threshold (10.0)
Rewrite Message Subjects? Choose whether SpamAssassin should add text at the beginning of the subject line of suspected spam. You can also change the text added to the subject. (rewrite_header)
Don't Rewrite Subjects (default)
Rewrite Subjects using text:
Encapsulate Spam in Attachments? By default, SpamAssassin encapsulates each message above the spam threshold into a new message as a MIME attachment. This prevents dangerous scripting and makes it easy for users to identify whether a message is spam before opening it. You can also choose to create text-only attachments for increased safety. If you disable this option, the message is unaltered except for a spam report in the headers. (report_safe)
Don't Use Attachments (0)
Use Attachments (default, 1)
Use Text-only Attachments (2) (Version 2.51 and later only)

Bayes Options

Use Bayes System? Spamassassin can use a statistical, "Bayesian" analysis system to determine whether each message is spam based on previous examples of spam and nonspam. (use_bayes)
Use Bayes System (default)
Disable Bayes System
Use Auto Learning? SpamAssassin can automatically train its Bayes database by analyzing messages that have a score that strongly suggests that they are spam or nonspam. (bayes_auto_learn)
Use Auto Learning (default)
Disable Auto Learning

Network Test Options

Enable RBL Checks? Choose whether SpamAssassin should use RBLs (DNS Blacklists). These can help detect difficult spam, but they require some time, some network bandwidth, and an available DNS server. (skip_rbl_checks)
Enable RBL Checks (default)
Disable RBL Checks
Use Network Checksum Tests? Choose whether to use these services that compare message checksums to known spam: Vipul's Razor 2.x, DCC, and Pyzor. These will only work when the client software for each service is installed. (use_razor2, use_dcc, use_pyzor)
Use Razor 2 if available
Use DCC if available
Use Pyzor if available
SpamAssassin 3.1 Note: Due to licensing issues, Razor2 and DCC are not enabled by default in version 3.1. Your administrator must enable their plugins in /etc/mail/spamassassin/v310.pre or the setting above will be ignored.

Language Options

Accepted Languages: SpamAssassin can analyze the text and character set of a message and make an educated guess at the language being used. Select the languages you receive legitimate mail in, and messages in other languages will have their spam score increased. By default all languages are accepted. (ok_locales, ok_languages)
Default: all (The default will be used if you do not select any languages below)
Select Languages:
afrikaans
albanian
amharic
arabic
armenian
basque
bosnian
bulgarian
byelorussian
catalan
chinese
croatian
czech
danish
dutch
english
esperanto
estonian
finnish
french
frisian
georgian
german
greek
hebrew
hindi
hungarian
icelandic
indonesian
irish_gaelic
italian
japanese
korean
latin
latvian
lithuanian
malay
marathi
nepali
norwegian
persian
polish
portuguese
quechua
rhaeto-romance
romanian
russian
sanskrit
scots
scottish_gaelic
serbian
slovak
slovenian
spanish
swahili
swedish
tagalog
tamil
thai
turkish
ukrainian
vietnamese
welsh
yiddish
Use Language Testing: Analyzes body text rather than simply checking the character set. This is more effective, but slows down SpamAssassin slightly. If this option is disabled, only the boldface languages above will be detected. (ok_languages)
SpamAssassin 3.1 Note: Language checking has been moved to a plugin in version 3.1. This setting will not work unless your administrator has enabled the TextCat plugin in /etc/mail/spamassassin/v310.pre.

Version 1.50 - updated 10/7/2005 for SpamAssassin 3.1 - by Michael Moncur