{"id":71,"date":"2006-02-04T23:26:21","date_gmt":"2006-02-04T14:26:21","guid":{"rendered":"https:\/\/fugutabetai.com\/blog\/2006\/02\/04\/adding-rules-to-spamassassin-and-keeping-them-up-to-date-automatically\/"},"modified":"2006-02-04T23:26:21","modified_gmt":"2006-02-04T14:26:21","slug":"adding-rules-to-spamassassin-and-keeping-them-up-to-date-automatically","status":"publish","type":"post","link":"https:\/\/fugutabetai.com\/blog\/2006\/02\/04\/adding-rules-to-spamassassin-and-keeping-them-up-to-date-automatically\/","title":{"rendered":"Adding rules to SpamAssassin and keeping them up-to-date automatically"},"content":{"rendered":"<p>So I&#8217;ve been getting a lot of spam lately, and decided to add more rules to SpamAssassin.  I found two nice solutions for automatically (via cron or the like) download new rulesets. I&#8217;ve decided to go with Maxime Ritter&#8217;s <a href=\"http:\/\/maxime.ritter.eu.org\/article.php3?id_article=10\">rule-get<\/a> perl script, which is like apt-get in many ways.  It stuck the script in \/usr\/local\/sbin in case I lose it.  \ud83d\ude42<\/p>\n<p><P> <!-- readmore --><\/p>\n<p><P><\/p>\n<p>To install it on FuguTabetai.com, I had to track down and install the Config::IniFiles module for perl, so I stuck that in \/usr\/lib\/perl5\/site_perl\/5.8.0\/Config\/ and was off an running.  After picking through the list of rules available, I&#8217;ll set up a cron job to update the lot once a week and restart spamd, and hopefully that will bite into the spam I&#8217;ve been recieving lately.  I&#8217;ll have to add some negative weight rules as well to make sure some stuff does get through though.<\/p>\n<p><P><\/p>\n<p>The current list of rules is:<\/p>\n<ul>\n<li> TripWire :  &#8211; No GPG Check :-((\n<li> sa-blacklist-uri : William Stearn&#8217;s URI blacklist &#8211; No GPG Check :-((\n<li> sa-random : Searches for spamware mistakes like: %RANDOM_WORD  &#8211; No GPG Check :-((\n<li> AntiDrug : Matt Kettler&#8217;s AntiDrug &#8211; No GPG Check :-((\n<li> SARE_Redirect : Rules to detect commonly abused redirectors and uri obfuscation techniques. &#8211; No GPG Check :-((\n<li> SARE_EvilNumbers : Addresses and phone numbers harvested from spam (complete set) &#8211; No GPG Check :-((\n<li> SARE_BayesPoison : Bayes poison using lists of words with equal length &#8211; No GPG Check :-((\n<li> SARE_html_0 : SARE HTML Ruleset 0 : very safe rules &#8211; No GPG Check :-((\n<li> SARE_html_1 : SARE HTML Ruleset 1 : safe rules &#8211; No GPG Check :-((\n<li> SARE_Header_0 : SARE Header Ruleset 0 : very safe rules &#8211; No GPG Check :-((\n<li> SARE_Header_1 : SARE Header Ruleset 1 : safe rules &#8211; No GPG Check :-((\n<li> SARE_Specific : Rule set which flags specific spam and\/or spam from specific spammers &#8211; No GPG Check :-((\n<li> SARE_adult : SARE Adult rules are designed to catch spam with &#8220;Adult&#8221; material. &#8211; No GPG Check :-((\n<li> SARE_fraud : SARE Fraud Detection Ruleset (for SA ver. 2.5x and greater) &#8211; No GPG Check :-((\n<li> SARE_OEM : Tries to detect people selling OEM software to consumers &#8211; No GPG Check :-((\n<li> SARE_subject_0 : SARE Subject header ruleset 0 : very safe rules &#8211; No GPG Check :-((\n<li> SARE_subject_1 : SARE Subject header ruleset 1 : safe rules &#8211; No GPG Check :-((\n<li> SARE_uri : Looks for spamsign in URI links within emails (compete set).  &#8211; No GPG Check :-((\n<li> SARE_obfu : Looks for various tricks spammers use to hide their message from spam filters (complete set) &#8211; No GPG Check :-((\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>So I&#8217;ve been getting a lot of spam lately, and decided to add more rules to SpamAssassin. I found two nice solutions for automatically (via cron or the like) download new rulesets. I&#8217;ve decided to go with Maxime Ritter&#8217;s rule-get perl script, which is like apt-get in many ways. It stuck the script in \/usr\/local\/sbin [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/posts\/71"}],"collection":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":0,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"wp:attachment":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/tags?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}