SARE Rules
If the ruleset name ends in "post25x", it contains features that are supported in SpamAssassin 2.5x or higher. If you are running an earlier version of SpamAssassin please use the "pre25x" version of that set.
For auto-updates: RulesDuJour is a bash script intended to automatically download new versions of SpamAssassin rulesets as the authors release new versions.
Also available for auto-updates:Apache SpamAssassin's sa-update How to update SARE rulesets via Apache SpamAssassin's sa-update
Download Policy: You can download each and every ruleset once per 24 hour period per IP address. If you try to download the rulesets too often, you will receive an error message. If you are downloading rulesets from many locations behind a proxy, please set up your own ruleset repository for your clients. Again: One single download of every file per 24 hours per IP address.
| 7x_sare_redirect_*.cf | |
| Description: | Rules to detect commonly abused redirectors and uri obfuscation techniques. |
| Created by: | Jesse Houwing /w thanks to Loren Wilton |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Auto-update: | Yes |
| RDJ usage: | add either "SARE_REDIRECT" (pre3.0.0) or "SARE_REDIRECT_POST300" (post3.0.0) to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/71_sare_redirect_pre3.0.0.cf
http://www.rulesemporium.com/rules/72_sare_redirect_post3.0.0.cf |
| Note: | Read the changelog in the set itself. This set contains two HAM rules. These are disabled by default, you'll find them at the bottom of the set. The ruleset "sare_redirect" is available in two versions. The version that ends in post3.0.0 contains features that are supported in SpamAssassin 3.0 or higher. If you are running an earlier version of SpamAssassin please use the pre3.0.0 version of that set. Do not use both rulesets! |
| Sample Results: | To be done. |
| 70_sare_evilnum*.cf | |
| Description: | Addresses and phone numbers harvested from spam |
| Created by: | Matt Yackley with contributions (too many to list!) |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Auto-update: | Yes |
| RDJ usage: | add one or more of "SARE_EVILNUMBERS0", "SARE_EVILNUMBERS1", or "SARE_EVILNUMBERS2", to TRUSTED_RULESETS |
| Available at: |
http://www.rulesemporium.com/rules/70_sare_evilnum0.cf http://www.rulesemporium.com/rules/70_sare_evilnum1.cf http://www.rulesemporium.com/rules/70_sare_evilnum2.cf |
| PGP/GPG signature: | signed by Matt Yackley, key id 0x1129F0D3: http://www.rulesemporium.com/rules/70_sare_evilnum0.cf.sig http://www.rulesemporium.com/rules/70_sare_evilnum1.cf.sig http://www.rulesemporium.com/rules/70_sare_evilnum2.cf.sig |
| Note: | There are several ruleset files in this collection:
|
| Sample Results: | To be done. |
| 70_sare_bayes_poison_nxm.cf | |
| Description: | Bayes poison using lists of words with equal length |
| Created by: | Jesse Houwing |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Auto-update: | Yes |
| RDJ usage: | add "SARE_BAYES_POISON_NXM" to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/70_sare_bayes_poison_nxm.cf |
| Note: | N/A |
| Sample Results: | included in file |
| 70_sare_html*.cf | |
| Description: | 70_sare_html*.cf rulesets contain HTML coding rules that detect various spammer tricks applied through HTML coding within messages. |
| Created by: | Contributions from many SARE members; published by Bob Menschel |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Version: | 01.03.10 |
| Auto-update: | Yes |
| RDJ usage: | add "SARE_HTML" to TRUSTED_RULESETS for the combined file (sare_html 0-3). For single rulesets add one or more of "SARE_HTML0", "SARE_HTML1", "SARE_HTML2", "SARE_HTML3" or "SARE_HTML_ENG" etc. to TRUSTED_RULESETS (more info) |
| Available at: | http://www.rulesemporium.com/rules/70_sare_html0.cf http://www.rulesemporium.com/rules/70_sare_html1.cf http://www.rulesemporium.com/rules/70_sare_html2.cf http://www.rulesemporium.com/rules/70_sare_html3.cf http://www.rulesemporium.com/rules/70_sare_html.cf (the four files above combined into one file) http://www.rulesemporium.com/rules/70_sare_html4.cf http://www.rulesemporium.com/rules/70_sare_html_arc.cf http://www.rulesemporium.com/rules/70_sare_html_eng.cf http://www.rulesemporium.com/rules/70_sare_html_x30.cf http://www.rulesemporium.com/rules/70_sare_html_x31.cf |
| PGP signatures: | signed by Robert Menschel, key id 0x38AA1D47: http://www.rulesemporium.com/rules/70_sare_html0.cf.sig http://www.rulesemporium.com/rules/70_sare_html1.cf.sig http://www.rulesemporium.com/rules/70_sare_html2.cf.sig http://www.rulesemporium.com/rules/70_sare_html3.cf.sig http://www.rulesemporium.com/rules/70_sare_html.cf.sig http://www.rulesemporium.com/rules/70_sare_html4.cf.sig http://www.rulesemporium.com/rules/70_sare_html_arc.cf.sig http://www.rulesemporium.com/rules/70_sare_html_eng.cf.sig http://www.rulesemporium.com/rules/70_sare_html_x30.cf.sig http://www.rulesemporium.com/rules/70_sare_html_x31.cf.sig |
| Note: | There are several ruleset files in this collection:
|
| Sample Results: | masscheck for html0 thru html3 (2004-06-12) |
| 70_sare_header?.cf | |
| Description: | 70_sare_header?.cf rulesets contain Header rules that are not found in other SARE rulesets. |
| Created by: | Contributions from many SARE members; published by Bob Menschel |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Last update: | 2006-05-21 |
| Version: | 01.03.21 |
| Auto-update: | Yes |
| RDJ usage: | add "SARE_HEADER" to TRUSTED_RULESETS for the combined file (sare_header 0-3). For single rulesets add one or more of "SARE_HEADER0", "SARE_HEADER1", "SARE_HEADER2", "SARE_HEADER3", "SARE_HEADER_ENG", "SARE_HEADER_X264_X30", "SARE_HEADER_X30" to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/70_sare_header0.cf http://www.rulesemporium.com/rules/70_sare_header1.cf http://www.rulesemporium.com/rules/70_sare_header2.cf http://www.rulesemporium.com/rules/70_sare_header3.cf http://www.rulesemporium.com/rules/70_sare_header_eng.cf http://www.rulesemporium.com/rules/70_sare_header_x264_x30.cf http://www.rulesemporium.com/rules/70_sare_header_x30.cf http://www.rulesemporium.com/rules/70_sare_header_x31.cf http://www.rulesemporium.com/rules/70_sare_header_arc.cf http://www.rulesemporium.com/rules/70_sare_header.cf |
| PGP signatures: | http://www.rulesemporium.com/rules/70_sare_header0.cf.sig http://www.rulesemporium.com/rules/70_sare_header1.cf.sig http://www.rulesemporium.com/rules/70_sare_header2.cf.sig http://www.rulesemporium.com/rules/70_sare_header3.cf.sig http://www.rulesemporium.com/rules/70_sare_header_eng.cf.sig http://www.rulesemporium.com/rules/70_sare_header_x264_x30.cf.sig http://www.rulesemporium.com/rules/70_sare_header_x30.cf.sig http://www.rulesemporium.com/rules/70_sare_header_x31.cf.sig http://www.rulesemporium.com/rules/70_sare_header_arc.cf.sig http://www.rulesemporium.com/rules/70_sare_header.cf.sig |
| Note: | There are nine ruleset files in this collection:
|
| Sample Results: | masscheck of file 0 (2004-08-21)
masscheck of file 1 (2004-08-21) masscheck of file 3 (2004-08-21) masscheck of the English language file (2004-08-21) masscheck of the Version 2.64/3.0 duplicate rule file (2004-08-21) masscheck of the Version 3.0 duplicate rule file (2004-08-21) |
| 70_sare_specific.cf | |
| Description: | Rule set which flags specific spam and/or spam from specific spammers |
| Created by: | Bob Menschel, with help from other SARE ninjas |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Last update: | 2006-05-27 |
| Version: | 01.03.13 |
| Auto-update: | Yes |
| RDJ usage: | add "SARE_SPECIFIC" to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/70_sare_specific.cf |
| Note: | Incorporates Chris Santerre's Mr. Wiggly rules |
| Sample Results: | Masscheck results (2004-08-18) |
| 70_sare_ratware.cf | |
| Description: | Needs description |
| Created by: | |
| License Type: | Artistic/GPL dual |
| Status: | Obsolete * |
| Auto-update: | No |
| Available at: | http://www.rulesemporium.com/rules/70_sare_ratware.cf |
| Note: | This file has mostly been split out into other, newer rule set files. The last two rules will be migrated this month (September), and then the rule set file deleted. |
| 70_sare_adult.cf | |
| Description: | SARE Adult rules are designed to catch spam with "Adult" material. |
| Created by: | Matt Yackley with contributions (too many to list!) |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Version: | 01.02.01 |
| Auto-update: | Yes |
| RDJ usage: | add "SARE_ADULT" to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/70_sare_adult.cf |
| Note: | N/A |
| Sample Results: | Masscheck results (2004-04-09) |
| 7x_sare_bml_learn_*.cf | |
| Description: | SARE "BML" rules are designed to catch "business, marketing and educational" spam. |
| Created by: | Matt Yackley with contributions (too many to list!) |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Version: | 01.02.01 |
| Auto-update: | Yes |
| RDJ usage: | add "SARE_BML" (post25x) or "SARE_BML_PRE25X" (pre25x) to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/72_sare_bml_post25x.cf http://www.rulesemporium.com/rules/71_sare_bml_pre25x.cf |
| Note: | The ruleset "biz_market_learn" is available in two versions. The version that ends in post25x contains features that are supported in SpamAssassin 2.5x or higher. If you are running an earlier version of SpamAssassin please use the "pre25x" version of that set. Do not use both rulesets! |
| Sample Results: | Masscheck
results for post25x (2004-05-08) Masscheck results for pre25x (2004-04-13) |
| 99_sare_fraud_*.cf | |
| Description: | SARE Fraud rules are designed to catch "Nigerian 419", "International Lotto", etc. type scams. |
| Created by: | Matt Yackley (inspired by the work of Carl Friend, w/ submissions from Bob Menschel) |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Version: | 01.03.02 |
| Auto-update: | Yes |
| RDJ usage: | add "SARE_FRAUD" (post25x) or "SARE_FRAUD_PRE25X" (pre25x) to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/99_sare_fraud_post25x.cf http://www.rulesemporium.com/rules/99_sare_fraud_pre25x.cf |
| Note: | The ruleset "fraud" is available in two versions. The version that ends in post25x contains features that are supported in SpamAssassin 2.5x or higher. If you are running an earlier version of SpamAssassin please use the "pre25x" version of that set. Do not use both rulesets! |
| Sample Results: | Masscheck
results for post25x (2004-04-11) Masscheck results for pre25x (2004-04-13) |
| 70_sare_spoof.cf | |
| Description: | 70_sare_spoof.cf tries to detect common spoofing attempts by spammers. Many use a Message-ID of one provider but the message was never passed through the suggested system. |
| Created by: | Fred Tarasevicius & Robert Menschel |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Auto-update: | Yes |
| RDJ usage: | add "SARE_SPOOF" to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/70_sare_spoof.cf |
| Note: | N/A |
| Sample Results: | Masscheck results (2004-08-21) |
| 70_sare_random.cf | |
| Description: | 70_sare_random.cf tries to detect common mis-fires on bulk mail software. Many signs are found like: %RND_NUMBER, etc. |
| Created by: | Fred Tarasevicius with contributions (too many to list!) |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Auto-update: | Yes |
| RDJ usage: | add "SARE_RANDOM" to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/70_sare_random.cf |
| Note: | N/A |
| Sample Results: | Masscheck results (2004-08-21) |
| 70_sc_top200.cf | |
| Description: | 70_sc_top200.cf is the Top 200 spam relays condensed into as few rules as possible. If you use this, please see notes below. |
| Created by: | Fred Tarasevicius |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Last update: | see note below |
| Version: | 01.00.00 |
| Auto-update: | Yes - Mandatory |
| RDJ usage: | add "SARE_SPAMCOP_TOP200" to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/70_sc_top200.cf |
| Note: | Do not use these if you use SpamCop.net's blacklist (Default with net enabled on 2.63). This ruleset is created from that data. You must use some type of update script or manually update these often. The Top 200 list is dynamically created once a day and these rules are generated from that data. The rules are automatically uploaded to this server at random times monday-friday. |
| Sample Results: | Dynamic data does not produce good results, this data is the top 200 and as long as you update, it should work very good for you. |
| 70_sare_oem.cf | |
| Description: | 70_sare_oem.cf tries to detect people selling OEM software to consumers. |
| Created by: | Fred Tarasevicius w/ Additions by Jesse Houwing |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Auto-update: | Yes |
| RDJ usage: | add "SARE_OEM" to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/70_sare_oem.cf |
| Note: | N/A |
| Sample Results: | Masscheck results (2004-08-21) |
| 70_sare_genlsubj*.cf | |
| Description: | 70_sare_genlsubj*.cf rulesets contain Subject header rules that are not found in other SARE rulesets. |
| Created by: | Contributions from many SARE members; published by Bob Menschel |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Auto-update: | Yes |
| RDJ usage: | add one or more of "SARE_GENLSUBJ0", "SARE_GENLSUBJ1", "SARE_GENLSUBJ2", "SARE_GENLSUBJ3", "SARE_GENLSUBJ4", "SARE_GENLSUBJ_ENG" and/or (for files 0 through 3 combined) "SARE_GENLSUBJ" to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/70_sare_genlsubj0.cf http://www.rulesemporium.com/rules/70_sare_genlsubj1.cf http://www.rulesemporium.com/rules/70_sare_genlsubj2.cf http://www.rulesemporium.com/rules/70_sare_genlsubj3.cf http://www.rulesemporium.com/rules/70_sare_genlsubj4.cf http://www.rulesemporium.com/rules/70_sare_genlsubj_arc.cf http://www.rulesemporium.com/rules/70_sare_genlsubj_eng.cf http://www.rulesemporium.com/rules/70_sare_genlsubj_x30.cf http://www.rulesemporium.com/rules/70_sare_genlsubj.cf |
| PGP signatures: | signed by Robert Menschel, key id 0x38AA1D47: http://www.rulesemporium.com/rules/70_sare_genlsubj0.cf.sig http://www.rulesemporium.com/rules/70_sare_genlsubj1.cf.sig http://www.rulesemporium.com/rules/70_sare_genlsubj2.cf.sig http://www.rulesemporium.com/rules/70_sare_genlsubj3.cf.sig http://www.rulesemporium.com/rules/70_sare_genlsubj4.cf.sig http://www.rulesemporium.com/rules/70_sare_genlsubj_arc.cf.sig http://www.rulesemporium.com/rules/70_sare_genlsubj_eng.cf.sig http://www.rulesemporium.com/rules/70_sare_genlsubj_x30.cf.sig http://www.rulesemporium.com/rules/70_sare_genlsubj.cf.sig |
| Note: | There are nine ruleset files in this collection:
|
| Sample Results: | masscheck of file 0 (2004-08-19)
masscheck of file 1 (2004-08-19) masscheck of file 3 (2004-08-19) masscheck of the English language file (2004-08-19) masscheck of the Version 3.0 duplicate rule file (2004-08-19) |
| 70_sare_highrisk.cf | |
| Description: | 70_sare_highrisk.cf is developed because there are spam signs which readily detect spam, and which in our testing do not flag significant ham, but theoretically there is no reason for such rules to not flag ham. We therefore consider these to be "high risk" rules, useful for many systems at this time, but not suitable for systems that must be very conservative and cautious in their spam detection. |
| Created by: | Robert Menschel |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Auto-update: | Yes. |
| RDJ usage: | add "SARE_HIGHRISK" to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/70_sare_highrisk.cf |
| Note: | Because of the risk factor, if you use these rules, and if you use an auto-update script, you should include this script in that auto-update. This will automate any decrease in score or rule elimination required by the discovery of new hams that match the rule. As of May 28 2004, there is one rule in this rule set, moved here from the spoof rule set. |
| Sample Results: | Masscheck results (2004-05-25) |
| 70_sare_unsub.cf | |
| Description: | 70_sare_unsub.cf looks for common unsubscribe phrases and codes in spam. |
| Created by: | Chris Santerre |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Auto-update: | Yes. |
| RDJ usage: | add "SARE_UNSUB" to TRUSTED_RULESETS |
| Available at: | http://www.rulesemporium.com/rules/70_sare_unsub.cf |
| Note: | Great results on this one. Please report any false positives to csanterre@rulesemporium.com |
| Sample Results: | Masscheck results (2004-08-21) (Out-dated) |
| 70_sare_uri.cf | |
| Description: | The 70_sare_uri*.cf files look for spamsign in URI links within emails. It is not intended to replace SURBL or BigEvil, but instead will use characteritics that these domain-based tests cannot track. |
| Created by: | Bob Menschel |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Last update: | 2005-10-05 |
| Version: | 01.01.04 |
| Auto-update: | Yes. Note: File names have changed with version 01.01.00 -- If you use RDJ for auto-updating, please update your RDJ parameters. |
| RDJ usage: | add one or more of "SARE_URI0", "SARE_URI1", "SARE_URI3", or "SARE_URI_ENG" to TRUSTED_RULESETS |
| Available at http://www.rulesemporium.com/rules: |
70_sare_uri0.cf 70_sare_uri1.cf 70_sare_uri2.cf 70_sare_uri3.cf 70_sare_uri4.cf 70_sare_uri_eng.cf 70_sare_uri_x31.cf |
| PGP signatures at http://www.rulesemporium.com/rules: |
70_sare_uri0.cf.sig 70_sare_uri1.cf.sig 70_sare_uri2.cf.sig 70_sare_uri3.cf.sig 70_sare_uri4.cf.sig 70_sare_uri_eng.cf.sig 70_sare_uri_x31.cf.sig |
| Note: | There are seven ruleset files in this collection:
|
| 70_sare_whitelist.cf and derivatives | |
| Description: | Whitelist directives used to whitelist newsletters and mailing lists that are controlled/monitored to be free of spam, but might occasioanlly be flagged as spam by SpamAssassin because of "spammy" contents. |
| Created by: | Bob Menschel, RMsa@menschel.net |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Auto-update: | Yes |
| RDJ usage: | add "SARE_WHITELIST", "SARE_WHITELIST_SPF", "SARE_WHITELIST_RCVD", or "SARE_WHITELIST_PRE30" to TRUSTED_RULESETS. |
| Available at: |
|
| Note: | Please read the internal documentation. Note that since this file contains whitelist_from_rcvd directives, and not regex-based rules, this file or extracts from it could be used within an individual's user_prefs file. Please send recommendations or complaints to Bob Menschel, RMsa@menschel.net |
| Sample Results: | Not available (have not been able to figure out how to mass-check whitelist rules). |
| 70_sare_obfu.cf | |
| Description: | The 70_sare_obfu*.cf files look for obfuscation within emails. It looks for the various tricks spammers use to hide their message from spam filters, while keeping their messages readable to humans. It treats these as spamsign. |
| Created by: | Bob Menschel |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Last update: | 2005-10-01 |
| Version: | 01.00.08 |
| Auto-update: | Yes. |
| RDJ usage: | add either "SARE_OBFU" (for sets 0 and 1), or one or more of "SARE_OBFU0", "SARE_OBFU1", "SARE_OBFU2", or "SARE_OBFU3" to TRUSTED_RULESETS |
| Available at http://www.rulesemporium.com/rules: |
70_sare_obfu.cf 70_sare_obfu0.cf 70_sare_obfu1.cf 70_sare_obfu2.cf 70_sare_obfu3.cf 70_sare_obfu4.cf 70_sare_obfu_x31.cf |
| PGP signatures at http://www.rulesemporium.com/rules: |
70_sare_obfu.cf.sig 70_sare_obfu0.cf.sig 70_sare_obfu1.cf.sig 70_sare_obfu2.cf.sig 70_sare_obfu3.cf.sig 70_sare_obfu4.cf.sig 70_sare_obfu_x31.cf.sig |
| Note: | There are seven ruleset files in this collection:
|
| 70_sare_stocks.cf | |
| Description: | Rulename.cf description - This is a good set of rules for stock spams. |
| Created by: | Doc Schneider |
| License Type: | Artistic/GPL dual |
| Status: | Active * |
| Last update: | 08/18/2007 |
| Version: | 01.01.02 |
| Auto-update: | Yes |
| Available at: | http://www.rulesemporium.com/rules/70_sare_stocks.cf |
| Note: | NOTICE: You need to upgrade RulesDuJour before adding this rule. Please read the internal documentation. |
| RDJ usage: | add "SARE_STOCKS" to TRUSTED_RULESETS |
