{"id":43,"date":"2017-09-15T01:00:00","date_gmt":"2017-09-14T23:00:00","guid":{"rendered":"https:\/\/schaal-it.dev\/en\/?p=43"},"modified":"2023-10-20T07:32:59","modified_gmt":"2023-10-20T05:32:59","slug":"current-rules-for-spamassassin-from-schaal-it","status":"publish","type":"post","link":"https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/","title":{"rendered":"Current rules for SpamAssassin from schaal @it"},"content":{"rendered":"\n<p>We regularly publish new rules for the spamfilter SpamAssassin of the Apache Software Foundation <a href=\"http:\/\/spamassassin.apache.org\/\">Apache Software Foundation<\/a>. Of course, you can also use the rules for the ISPConfig spam filter settings.<\/p>\n\n\n\n<p>Most of our rules have a score of 5.<\/p>\n\n\n\n<p>Our rules can be used free of charge. For this, only our channel has to be added to the SpamAssassin-Config or our script has to be installed. Please do not forget to restart SpamAssassin after installing or updating rules.<\/p>\n\n\n\n<p>SpamAssassin uses DNS checks to detect new rules so that the script can be called every hour or at least dayly without generating a significant load.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Use the rules with Rspamd<\/h2>\n\n\n\n<p>You can use\u00a0SpamAssassin rules with Rspamd by creating the file \/etc\/rspamd\/local.d\/spamassassin.conf with the following content:<\/p>\n\n\n\n<pre id=\"block-28832ea5-5e8f-4147-9abb-57e02c78a1eb\" class=\"wp-block-code\"><code>ruleset = \"\/var\/lib\/spamassassin\/rspamd\/sa_ruleset\";<br>base_ruleset = \"\/var\/lib\/spamassassin\/rspamd\/*.cf\"; # Limit search size to 100 kilobytes for all regular expressions match_limit = 100k; # Those regexp atoms will not be passed through hyperscan: pcre_only = &#91;\"RULE1\", \"__RULE2\"];<\/code><\/pre>\n\n\n\n<p>Our update-script copies the rules to the directory and updates the the rulest.<\/p>\n\n\n\n<p>For more informations about the SpamAssassin module for Rspamd: <a href=\"https:\/\/rspamd.com\/doc\/modules\/spamassassin.html\" target=\"_blank\" rel=\"noreferrer noopener\">Spamassassin module<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Update the rules using cron<\/h2>\n\n\n\n<p>To use the rules and keep them up-to-date, just install a simple shell-script in \/etc\/cron.hourly:cd \/etc\/cron.hourly &amp;&amp; wget https:\/\/sa.schaal-it.net\/sa-update -O sa-update &amp;&amp; chown root.root sa-update &amp;&amp; chmod 755 sa-update<\/p>\n\n\n\n<p>The script takes care of the different requirements for Amavisd and Rspamd and performs the appropriate actions if one or both content-filters are installed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add more rules<\/h2>\n\n\n\n<p>Just add more channels to the variable update_channels in the script.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We regularly publish new rules for the spamfilter SpamAssassin of the Apache Software Foundation Apache Software Foundation. Of course, you can also use the rules&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-43","post","type-post","status-publish","format-standard","hentry","category-blog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.9 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Current rules for SpamAssassin from schaal @it<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Current rules for SpamAssassin from schaal @it\" \/>\n<meta property=\"og:description\" content=\"We regularly publish new rules for the spamfilter SpamAssassin of the Apache Software Foundation Apache Software Foundation. Of course, you can also use the rules&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/\" \/>\n<meta property=\"og:site_name\" content=\"schaal @it UG\" \/>\n<meta property=\"article:published_time\" content=\"2017-09-14T23:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-20T05:32:59+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/blog\\\/current-rules-for-spamassassin-from-schaal-it\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/blog\\\/current-rules-for-spamassassin-from-schaal-it\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/#\\\/schema\\\/person\\\/97112bea38186367c303945fe91f1101\"},\"headline\":\"Current rules for SpamAssassin from schaal @it\",\"datePublished\":\"2017-09-14T23:00:00+00:00\",\"dateModified\":\"2023-10-20T05:32:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/blog\\\/current-rules-for-spamassassin-from-schaal-it\\\/\"},\"wordCount\":246,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/#organization\"},\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/schaal-it.dev\\\/en\\\/blog\\\/current-rules-for-spamassassin-from-schaal-it\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/blog\\\/current-rules-for-spamassassin-from-schaal-it\\\/\",\"url\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/blog\\\/current-rules-for-spamassassin-from-schaal-it\\\/\",\"name\":\"Current rules for SpamAssassin from schaal @it\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/#website\"},\"datePublished\":\"2017-09-14T23:00:00+00:00\",\"dateModified\":\"2023-10-20T05:32:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/blog\\\/current-rules-for-spamassassin-from-schaal-it\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/schaal-it.dev\\\/en\\\/blog\\\/current-rules-for-spamassassin-from-schaal-it\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/blog\\\/current-rules-for-spamassassin-from-schaal-it\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Current rules for SpamAssassin from schaal @it\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/\",\"name\":\"schaal @it UG\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/#organization\",\"name\":\"schaal@it UG\",\"url\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/10\\\/cropped-schaal_it_logo2_2_-_250px.png\",\"contentUrl\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/10\\\/cropped-schaal_it_logo2_2_-_250px.png\",\"width\":250,\"height\":42,\"caption\":\"schaal@it UG\"},\"image\":{\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/#\\\/schema\\\/person\\\/97112bea38186367c303945fe91f1101\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d608e74bb5cd2c03fa61fb269810c56ac375940d126f01ea5954cc0a1336e0dc?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d608e74bb5cd2c03fa61fb269810c56ac375940d126f01ea5954cc0a1336e0dc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d608e74bb5cd2c03fa61fb269810c56ac375940d126f01ea5954cc0a1336e0dc?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/schaal-it.dev\"],\"url\":\"https:\\\/\\\/schaal-it.dev\\\/en\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Current rules for SpamAssassin from schaal @it","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/","og_locale":"en_US","og_type":"article","og_title":"Current rules for SpamAssassin from schaal @it","og_description":"We regularly publish new rules for the spamfilter SpamAssassin of the Apache Software Foundation Apache Software Foundation. Of course, you can also use the rules&hellip;","og_url":"https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/","og_site_name":"schaal @it UG","article_published_time":"2017-09-14T23:00:00+00:00","article_modified_time":"2023-10-20T05:32:59+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/#article","isPartOf":{"@id":"https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/"},"author":{"name":"admin","@id":"https:\/\/schaal-it.dev\/en\/#\/schema\/person\/97112bea38186367c303945fe91f1101"},"headline":"Current rules for SpamAssassin from schaal @it","datePublished":"2017-09-14T23:00:00+00:00","dateModified":"2023-10-20T05:32:59+00:00","mainEntityOfPage":{"@id":"https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/"},"wordCount":246,"commentCount":0,"publisher":{"@id":"https:\/\/schaal-it.dev\/en\/#organization"},"articleSection":["Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/","url":"https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/","name":"Current rules for SpamAssassin from schaal @it","isPartOf":{"@id":"https:\/\/schaal-it.dev\/en\/#website"},"datePublished":"2017-09-14T23:00:00+00:00","dateModified":"2023-10-20T05:32:59+00:00","breadcrumb":{"@id":"https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/schaal-it.dev\/en\/blog\/current-rules-for-spamassassin-from-schaal-it\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/schaal-it.dev\/en\/"},{"@type":"ListItem","position":2,"name":"Current rules for SpamAssassin from schaal @it"}]},{"@type":"WebSite","@id":"https:\/\/schaal-it.dev\/en\/#website","url":"https:\/\/schaal-it.dev\/en\/","name":"schaal @it UG","description":"","publisher":{"@id":"https:\/\/schaal-it.dev\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/schaal-it.dev\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/schaal-it.dev\/en\/#organization","name":"schaal@it UG","url":"https:\/\/schaal-it.dev\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/schaal-it.dev\/en\/#\/schema\/logo\/image\/","url":"https:\/\/schaal-it.dev\/en\/wp-content\/uploads\/sites\/2\/2023\/10\/cropped-schaal_it_logo2_2_-_250px.png","contentUrl":"https:\/\/schaal-it.dev\/en\/wp-content\/uploads\/sites\/2\/2023\/10\/cropped-schaal_it_logo2_2_-_250px.png","width":250,"height":42,"caption":"schaal@it UG"},"image":{"@id":"https:\/\/schaal-it.dev\/en\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/schaal-it.dev\/en\/#\/schema\/person\/97112bea38186367c303945fe91f1101","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d608e74bb5cd2c03fa61fb269810c56ac375940d126f01ea5954cc0a1336e0dc?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d608e74bb5cd2c03fa61fb269810c56ac375940d126f01ea5954cc0a1336e0dc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d608e74bb5cd2c03fa61fb269810c56ac375940d126f01ea5954cc0a1336e0dc?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/schaal-it.dev"],"url":"https:\/\/schaal-it.dev\/en\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/schaal-it.dev\/en\/wp-json\/wp\/v2\/posts\/43","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/schaal-it.dev\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/schaal-it.dev\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/schaal-it.dev\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/schaal-it.dev\/en\/wp-json\/wp\/v2\/comments?post=43"}],"version-history":[{"count":1,"href":"https:\/\/schaal-it.dev\/en\/wp-json\/wp\/v2\/posts\/43\/revisions"}],"predecessor-version":[{"id":44,"href":"https:\/\/schaal-it.dev\/en\/wp-json\/wp\/v2\/posts\/43\/revisions\/44"}],"wp:attachment":[{"href":"https:\/\/schaal-it.dev\/en\/wp-json\/wp\/v2\/media?parent=43"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/schaal-it.dev\/en\/wp-json\/wp\/v2\/categories?post=43"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/schaal-it.dev\/en\/wp-json\/wp\/v2\/tags?post=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}