{"id":21890,"date":"2026-11-01T11:10:00","date_gmt":"2026-11-01T10:10:00","guid":{"rendered":"https:\/\/webhosting.de\/?p=21890"},"modified":"2026-10-30T12:49:29","modified_gmt":"2026-10-30T11:49:29","slug":"comparison-of-rspamd-and-spamassassin-as-spam-filters","status":"publish","type":"post","link":"https:\/\/webhosting.de\/en\/rspamd-statt-spamassassin-spamfilter-vergleich\/","title":{"rendered":"Rspamd Instead of SpamAssassin: A Meaningful Comparison of Modern Spam Filters"},"content":{"rendered":"<div class=\"wh-article\" data-wh-layout=\"2.1.2\" style=\"width:100%;max-width:820px;margin:0 auto;color:#263b4b;font-family:inherit;font-size:18px;line-height:1.8;text-align:start;overflow-wrap:break-word;box-sizing:border-box\"><p class=\"wh-lead\" style=\"font-size:20px;line-height:1.7;color:#233746;margin:0 0 1.1em\">Switching to Rspamd isn't automatically worth it. <strong style=\"font-weight:700;color:inherit\">SpamAssassin<\/strong> may still be appropriate if the rules are stable and the maintenance effort is manageable; Rspamd is particularly useful for new deployments, Milter integration, and controlled, scalable environments. The key factors are not pre-assigned scores, but misclassifications, dependencies, and reliable parallel operation. Rspamd evaluates messages based on symbols and suggests actions, the enforcement of which is determined by the MTA integration.  <\/p>\n<nav class=\"wh-toc\" aria-label=\"Contents of this article\" style=\"display:block;margin:28px 0 38px;padding:22px;border:1px solid #d9e4e8;border-radius:14px;background:#f4f8f8\"><p class=\"wh-toc-title\" style=\"font-size:13px;font-weight:700;letter-spacing:.08em;color:#49656b;margin:0 0 14px\">Go directly to the section<\/p><div class=\"wh-toc-grid\" style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px\"><div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#filterziele-und-fehlerarten\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Spam Filter Targets and Unavoidable False Positives<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#spamassassin-aufbau-und-regeln\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">SpamAssassin: Rules, Scores, and Operating Model<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#rspamd-architektur-und-aktionen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Rspamd: Workers, Icons, and Actions<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#vergleich-fuer-den-mailbetrieb\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Comparison for Daily Email Operations<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#mta-anbindung-und-speicher\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">MTA Integration, Redis, and State-Based Modules<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#regeln-und-lerndaten-ueberfuehren\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Transfer Rules and Learning Data in a Controlled Manner<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#parallelbetrieb-sicher-einfuehren\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Safely Implement Rspamd in a Parallel Environment<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#betrieb-logging-und-fehlersuche\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Operation, Logging, and Systematic Troubleshooting<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#entscheidung-nach-serverprofil\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Make a decision based on the server profile<\/a><\/div>\n<\/div><\/nav><section class=\"wh-section\" aria-labelledby=\"filterziele-und-fehlerarten\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"filterziele-und-fehlerarten\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Spam Filter Targets and Unavoidable False Positives<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">An email spam filter evaluates messages in the email flow based on technical and content-related characteristics. Depending on the product, these may include sender and authentication data, headers, URLs, message text, HTML structure, statistical classifications, and external queries. The goal is not to determine the veracity of an email, but to assess the delivery risk in a transparent manner.  <strong style=\"font-weight:700;color:inherit\">Rspamd<\/strong> It also combines numerous test modules for this purpose and can compile the results into a decision-making document. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Several steps must remain separate in this process: The MTA first accepts an SMTP message or rejects it during transmission. The filter then calculates a score, either afterward or during processing. A flag may, for example, be added to the header or, based on downstream rules, move the message to a junk folder. A rejection, on the other hand, terminates the acceptance process; it is therefore the most far-reaching action and not merely a stronger form of flagging.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A <strong style=\"font-weight:700;color:inherit\">False Positive<\/strong> This occurs when a legitimate message is incorrectly classified as spam. This can happen, for example, with a genuine invoice from a supplier whose PDF attachment, payment request, or unfamiliar sender domain triggers multiple checks. If the message is merely flagged, the recipient can still find it; if it is rejected, it never reaches the inbox at all. For business communication, this difference is crucial.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Conversely, a <strong style=\"font-weight:700;color:inherit\">False Negative<\/strong> A spam message that gets past the filter. A typical example would be a campaign with slightly altered text, varying links, and headers that appear technically correct. Such messages increase the risk of phishing, malware, or unsolicited advertising, but this does not automatically mean that a strict rejection is warranted. An email spam filter always strikes a balance between these two types of errors; it does not aim for a zero-error rate.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Threshold values are therefore an operational risk decision. A low rejection threshold may reduce the amount of spam that gets through, but it increases the risk of losing legitimate mail. A higher threshold shifts more responsibility to flagging, quarantining, and user review. A tiered strategy makes sense: first, flagging and monitoring; then, greylisting or stricter measures only where logs, feedback, and the organization\u2019s own email traffic support the decision.<\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"spamassassin-aufbau-und-regeln\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"spamassassin-aufbau-und-regeln\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">SpamAssassin: Rules, Scores, and Operating Model<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><strong style=\"font-weight:700;color:inherit\">SpamAssassin<\/strong> is an extensible, rule- and point-based filter. Among other things, it analyzes headers, body text, HTML, and URLs; in addition, statistical methods, network queries, and plugins are available for functions such as Bayes, SPF, DKIM, or DMARC. Individual matches contribute points to the result. The total of these points yields a score that can be compared to a configured threshold. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Customizations are typically made in <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">.cf<\/code>-files. These allow you to define header, body, and URI rules with their own scores. This model is particularly transparent when a team needs to understand why a specific rule was triggered. At the same time, the maintenance effort increases with many exceptions, local rule sets, and varying evaluations: Each rule requires a business justification, a documented impact, and regular monitoring. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">In continuous server operation, the service typically <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">spamd<\/code> accepts audit requests, while the lightweight client <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">spamc<\/code> delivers messages to him. This separation eliminates the need to launch the entire program for each message and is intended for recurring checks. The service can also incorporate SQL or LDAP configurations as well as user-specific settings. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">This is relevant for hosting environments: A domain may require different whitelists, while individual mailboxes may have their own preferences or learning histories. Such organically developed structures are not a technical flaw, but they complicate migration. Before making a change, it should therefore be clear which rules are actually business-critical, which were simply carried over from the past, and which tasks are already handled by the MTA or another service.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A well-maintained SpamAssassin installation does not need to be replaced simply because of its age. If the rules are understandable, the integration works reliably, and the administrative effort is commensurate with the volume of email, targeted maintenance may make more sense than a migration. Conversely, a high proportion of special rules that are difficult to maintain is not a reason to blindly copy them: it is a reason to <strong style=\"font-weight:700;color:inherit\">Standard inventory<\/strong> to perform a critical adjustment, regardless of which filter is selected later.<\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"rspamd-architektur-und-aktionen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"rspamd-architektur-und-aktionen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Rspamd: Workers, Icons, and Actions<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Rspamd uses a master-worker model. The master manages processes and configuration, while regular workers process messages. Among other things, a proxy worker can receive Milter requests and distribute them to scanners. The controller provides administrative functions and a web interface, but should not be exposed unprotected to the public network. These roles more clearly separate mail traffic, processing, and administration from one another.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Non-blocking input and output are important for the architecture. DNS, Redis, or HTTP queries can be performed asynchronously. If a check is waiting for an external response, this does not necessarily have to halt other scans by the same worker. This does not imply a general performance guarantee: Actual results still depend on the rule set, hardware, DNS latencies, Redis, MTA connectivity, and the actual message mix. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Generating tests in Rspamd <strong style=\"font-weight:700;color:inherit\">Symbols<\/strong> with ratings and additional information. The filter aggregates them into an overall score and can suggest an action, such as <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">add header<\/code>, <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">greylist<\/code> or <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">reject<\/code>. This action does not automatically result in a delivery decision: Only the configuration and specific integration into Postfix, Exim, or Sendmail determine whether and how the MTA enforces it. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">That is precisely why existing SpamAssassin thresholds should not be adopted as numerical values. A score reflects the interaction of the activated rules, their weighting, and the available data sources. Even checks with the same name may be weighted differently, aggregated differently, or executed at different times in the two systems. A direct comparison of <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">required_score<\/code> Using an Rspamd threshold would be technically misleading. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">From an operational standpoint, separating evaluation from enforcement is an advantage: You can first observe the use of symbols and suggested actions without immediately rejecting them. Only by analyzing your own legitimate messages, identified campaigns, and feedback can you determine which <strong style=\"font-weight:700;color:inherit\">Action Thresholds<\/strong> are reasonable. This turns a technical default setting into a verifiable delivery policy rather than a supposedly objective spam threshold.<\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"vergleich-fuer-den-mailbetrieb\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"vergleich-fuer-den-mailbetrieb\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Comparison for Daily Email Operations<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The differences between SpamAssassin and Rspamd lie less in individual detection rules than in their operational models. Both evaluate emails based on numerous signals, but their approaches to configuration, integration, and distributed operation differ. The following comparison organizes these points as a basis for planning; it is not a substitute for an analysis of your own email traffic.  <\/p>\n<div class=\"wh-table-scroll\" tabindex=\"0\" role=\"region\" aria-label=\"Comparison of Key Operational Features of SpamAssassin and Rspamd\" style=\"width:100%;max-width:100%;overflow-x:auto;margin:28px 0;border:1px solid #dce5e9;border-radius:14px;background:#fff;box-shadow:0 10px 28px -16px rgba(24,47,60,.32);box-sizing:border-box\"><table style=\"width:100%;min-width:580px;border-collapse:separate;border-spacing:0;border:0;margin:0;font-size:15px;line-height:1.6;background:#fff\"><caption style=\"padding:20px;text-align:start;font-size:17px;line-height:1.5;font-weight:700;color:#173246;background:#fff\">Comparison of Key Operational Features of SpamAssassin and Rspamd<\/caption><thead><tr><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Criterion<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">SpamAssassin<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Rspamd<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Implications for Operations<\/th><\/tr><\/thead><tbody><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Architecture<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">The spamd service with the spamc client<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Master-Worker Model with Normal and Proxy Workers<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Affects parallelization and integration into the mail flow.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Configuration Model<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">.cf files, plugins, and optional SQL or LDAP configuration<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Module-based configuration; local adjustments supplement the default settings<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Existing rule maintenance cannot be transferred without review.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">MTA Integration<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Typically passed to spamd<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Milter for Postfix and Sendmail; Exim via spamd_address<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">The appropriate interface depends on the MTA used.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Control Model<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Rules with numerical scores for headers, bodies, and URIs<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Icons, Total Score, and Suggested Actions<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Thresholds and scores are not comparable across products.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Learning Features<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Bayes and other plugins are available<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Bayes, neural classification, and other modules<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Learning processes require verified feedback rather than blind self-training.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Memory requirement<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Depending on the enabled features and configuration<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Redis is intended for use with multiple stateful production modules<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Additional infrastructure must be monitored and secured.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Web interface<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">No equivalent controller role in the base model<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Controller with a web interface and management API<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Administrative access requires restrictive access control.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Scaling<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Service-oriented operation; configuration can be centralized<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">A proxy can distribute requests to scanners<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Distributed architecture creates opportunities, but also additional dependencies.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Migration Effort<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Existing rules and data are already in place<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Partial rule transfer, retrain Bayes data<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Operating in parallel reduces the risk of undetected errors in decision-making.<\/td><\/tr><\/tbody><\/table><\/div><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For a small standalone server, a well-maintained SpamAssassin installation is therefore not a technical emergency. If your own rules are transparent, the service runs stably, and misclassifications are addressed, keeping it in place may mean less effort to make changes. Nevertheless, a fresh installation using Rspamd remains a viable option if its Milter integration and centrally consolidated modules are a better fit for the planned environment.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">In hosting environments with multiple scanners, the <strong style=\"font-weight:700;color:inherit\">Scaling<\/strong> more important than the mere number of installed rules. Rspamd\u2019s proxy worker can forward Milter requests to other workers; asynchronous external queries should not block the entire worker in the process. However, this does not imply a general performance guarantee: DNS latencies, rules, hardware, and the message mix determine the actual throughput.  <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"mta-anbindung-und-speicher\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"mta-anbindung-und-speicher\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">MTA Integration, Redis, and State-Based Modules<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The technical integration determines where a <strong style=\"font-weight:700;color:inherit\">email spam filter<\/strong> returns its evaluation to the mail transfer agent. Rspamd can be connected to Postfix and Sendmail via Milter. Exim uses its integration via <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">spamd_address<\/code>. The filter returns a result, but the MTA and the selected configuration still determine whether a message is flagged, delayed, or rejected. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Not every check requires a shared state. SPF, DKIM, and DMARC evaluate authentication information; DNS-based lists and regular expressions check additional characteristics of an individual message. Although such checks may require external DNS responses, they do not automatically maintain a learning history. Their validity depends, among other things, on proper DNS operation and appropriate weighting within the overall rule set.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Working Differently <strong style=\"font-weight:700;color:inherit\">state-based modules<\/strong>. Bayesian classification stores learned features, greylisting must recognize previous delivery attempts, and rate limits require counters that span multiple connections. Rspamd incorporates Redis into its documented architecture for Bayesian, neural network, and greylisting classification, as well as other states. This allows multiple instances to access shared information. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Redis is therefore neither an interchangeable component nor a prerequisite for every single Rspamd check. Without accessible storage, static modules may still be usable, while learning and reputation functions may be limited or fail. Operators must therefore define availability, network connectivity, access protection, backup procedures, and the response to a Redis failure before going live.  <\/p>\n<figure class=\"wp-block-image size-large wh-figure\" aria-describedby=\"wh-caption-detail1\" style=\"display:block;float:none;clear:both;width:100%;max-width:760px;margin:34px auto 40px;border:1px solid #dae5e9;border-radius:14px;overflow:hidden;background:#f5f8fa;box-shadow:0 10px 28px -17px rgba(24,47,60,.28);box-sizing:border-box\"><div class=\"wh-figure-media\" style=\"display:block;background:#eef3f5;line-height:0\"><img loading=\"lazy\" width=\"800\" height=\"534\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/rspamd-redis-mailfilter-infrastruktur-dbb22d5f-detail1-e5239f4891-1024x683.webp\" class=\"wp-image-21893\" alt=\"Compact server devices and network technology as a symbol of separate email filtering and storage services.\" decoding=\"async\" srcset=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/rspamd-redis-mailfilter-infrastruktur-dbb22d5f-detail1-e5239f4891-1024x683.webp 1024w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/rspamd-redis-mailfilter-infrastruktur-dbb22d5f-detail1-e5239f4891-300x200.webp 300w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/rspamd-redis-mailfilter-infrastruktur-dbb22d5f-detail1-e5239f4891-768x512.webp 768w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/rspamd-redis-mailfilter-infrastruktur-dbb22d5f-detail1-e5239f4891-18x12.webp 18w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/rspamd-redis-mailfilter-infrastruktur-dbb22d5f-detail1-e5239f4891.webp 1536w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" ><\/div><figcaption class=\"wh-caption\" id=\"wh-caption-detail1\" style=\"display:block;margin:0;padding:12px 18px 15px;border-top:1px solid #dce5e9;color:#506575;background:#f5f8fa;font-size:14px;line-height:1.55;text-align:start\">AI-generated stock image: Additional condition monitoring services increase the demands on operation and monitoring.<\/figcaption><\/figure><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">From a practical standpoint, separating responsibilities makes sense: The MTA accepts SMTP connections and enforces the filtering decision, Rspamd evaluates messages, and Redis maintains the necessary state. This division simplifies troubleshooting but increases the number of services that need to be monitored. A slow or unreachable dependency should not be compensated for by ill-considered rejections. <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"regeln-und-lerndaten-ueberfuehren\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"regeln-und-lerndaten-ueberfuehren\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Transfer Rules and Learning Data in a Controlled Manner<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A migration begins with an assessment, not by copying all files. Custom rules, in particular, deserve careful review: They may reflect business requirements, but they may also contain outdated exceptions. Rspamd provides a SpamAssassin module that processes only a subset of rules. Therefore, the technical similarity of a rule does not guarantee that it will have the same effect. <\/p>\n<div class=\"wh-table-scroll\" tabindex=\"0\" role=\"region\" aria-label=\"Mapping of Selected SpamAssassin Modules During an Rspamd Migration\" style=\"width:100%;max-width:100%;overflow-x:auto;margin:28px 0;border:1px solid #dce5e9;border-radius:14px;background:#fff;box-shadow:0 10px 28px -16px rgba(24,47,60,.32);box-sizing:border-box\"><table style=\"width:100%;min-width:580px;border-collapse:separate;border-spacing:0;border:0;margin:0;font-size:15px;line-height:1.6;background:#fff\"><caption style=\"padding:20px;text-align:start;font-size:17px;line-height:1.5;font-weight:700;color:#173246;background:#fff\">Mapping of Selected SpamAssassin Modules During an Rspamd Migration<\/caption><thead><tr><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">SpamAssassin Module<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Possible Rspamd equivalent<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Takeover<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Required Review<\/th><\/tr><\/thead><tbody><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">spamd and spamc<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Worker, Proxy-Worker, and rspamc<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">No direct transfer<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Reset the MTA interface, timeout, and error handling.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Custom body, header, and URI rules<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">SpamAssassin module or native Rspamd rules<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Partially possible<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Check supported syntax and triggered symbols using test messages.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">AWL<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Reputation- and status-related functions<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">No 1:1 migration<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Reevaluate the purpose and impact on known senders.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Bayes Database<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Rspamd Bayesian Training<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Cannot be imported<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Retrain using validated ham and spam corpora.<\/td><\/tr><\/tbody><\/table><\/div><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Among other things, the module can <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">body<\/code>-, <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">rawbody<\/code>-, <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">header<\/code>-, <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">meta<\/code>- and <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">uri<\/code>-Process rules. Network- and HTML-specific plugins, on the other hand, are not fully supported. Loading extensive third-party rule sets without verification can complicate the configuration and put a strain on processing. It is better to adopt only your own rules that are demonstrably needed and to give preference to native modules. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">This requires special care <strong style=\"font-weight:700;color:inherit\">Bayesian Training<\/strong>. According to the Rspamd documentation, SpamAssassin Bayesian databases cannot be imported. Rspamd therefore requires new, verified corpora consisting of legitimate messages and spam. Incorrectly classified invoices, newsletters, or marketing campaigns skew the classification in the wrong direction and can exacerbate future misclassifications.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">AWL should also not be treated as a file-based rule. While a sender\u2019s past history and a current reputation score pursue related goals, they may use different data sources and weightings. Therefore, first document the intended effect of an existing exception or trust rule. Only then can you decide whether a native Rspamd function or a custom rule tailored to your needs is appropriate. <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"parallelbetrieb-sicher-einfuehren\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"parallelbetrieb-sicher-einfuehren\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Safely Implement Rspamd in a Parallel Environment<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A productive migration doesn't start by replacing the existing filter, but by taking stock of the current situation. Document the MTA connection, SpamAssassin rules, user-specific exceptions, DNS dependencies, accepted senders, and the current handling of suspicious messages. Also, determine which metrics will be important later on: for example, business emails falsely flagged as spam, campaigns that slipped through, and the manual processing effort required.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">First, install Rspamd separately from the main mail path and configure it so that its evaluation is logged but does not alter delivery. The documented \u201cShadow Mode\u201d allows for exactly this kind of observation: Rspamd checks messages without enforcing its suggested actions. This ensures that SpamAssassin remains the sole active decision-maker during the comparison phase.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Don't just evaluate the total score, but above all the triggered <strong style=\"font-weight:700;color:inherit\">Symbols<\/strong> and the resulting action. A high score may result from authentication errors, URL characteristics, reputation data, or local rules; these causes require different corrective actions. Therefore, for each suspicious message, check the header, recipient group, and the action suggested by the filter before changing scores or modules.  <\/p>\n<figure class=\"wp-block-image size-large wh-figure\" aria-describedby=\"wh-caption-detail2\" style=\"display:block;float:none;clear:both;width:100%;max-width:760px;margin:34px auto 40px;border:1px solid #dae5e9;border-radius:14px;overflow:hidden;background:#f5f8fa;box-shadow:0 10px 28px -17px rgba(24,47,60,.28);box-sizing:border-box\"><div class=\"wh-figure-media\" style=\"display:block;background:#eef3f5;line-height:0\"><img loading=\"lazy\" width=\"800\" height=\"534\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/rspamd-parallelbetrieb-filterpruefung-dbb22d5f-detail2-4e795322e2-1024x683.webp\" class=\"wp-image-21894\" alt=\"The administrator reviews the results of a mail filter comparison on paper before the switchover.\" decoding=\"async\" srcset=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/rspamd-parallelbetrieb-filterpruefung-dbb22d5f-detail2-4e795322e2-1024x683.webp 1024w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/rspamd-parallelbetrieb-filterpruefung-dbb22d5f-detail2-4e795322e2-300x200.webp 300w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/rspamd-parallelbetrieb-filterpruefung-dbb22d5f-detail2-4e795322e2-768x512.webp 768w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/rspamd-parallelbetrieb-filterpruefung-dbb22d5f-detail2-4e795322e2-18x12.webp 18w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/rspamd-parallelbetrieb-filterpruefung-dbb22d5f-detail2-4e795322e2.webp 1536w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" ><\/div><figcaption class=\"wh-caption\" id=\"wh-caption-detail2\" style=\"display:block;margin:0;padding:12px 18px 15px;border-top:1px solid #dce5e9;color:#506575;background:#f5f8fa;font-size:14px;line-height:1.55;text-align:start\">AI-generated stock image: Before the switchover, notable filter decisions are reviewed in a transparent manner.<\/figcaption><\/figure><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A meaningful comparison includes specific examples of both desired and undesired edge cases. For example, a legitimate invoice from a known supplier might contain a PDF file and an external tracking link. A varied spam campaign, on the other hand, constantly changes the subject line, text blocks, and sender, but retains typical URLs or structural characteristics. Both types of messages reveal whether individual characters contribute in a meaningful way or whether a rule is too broad.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Yoke <strong style=\"font-weight:700;color:inherit\">Threshold values<\/strong> Only enable this once there are sufficient verifiable examples. Rspamd\u2019s score scale is not equivalent to any previous SpamAssassin score; therefore, directly adopting it may trigger inappropriate actions. Decide separately when to simply add headers, when to temporarily greylist, and under what conditions to reject messages. The MTA integration determines whether and how an action is actually enforced.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">After a planned observation period, the switchover takes place in a controlled manner: Rspamd becomes the active filter, while SpamAssassin remains installed and configurable but no longer makes decisions in the mail flow. This fallback period should include defined responsibilities, a documented method for reverting to the previous configuration, and criteria for terminating the process. In addition, a clearly defined firewall configuration is helpful; the article explains the basics of a phased migration. <a href=\"https:\/\/webhosting.de\/en\/netfilter-vs-nftables-modern-linux-firewall-technologies-shield\/\">Netfilter vs. nftables<\/a>.<\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"betrieb-logging-und-fehlersuche\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"betrieb-logging-und-fehlersuche\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Operation, Logging, and Systematic Troubleshooting<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">In the event of an unexpected rejection, the diagnosis begins with the specific message and its processing chain, not with a blanket relaxation of the filter threshold. Check the MTA log, the Rspamd result, the triggered flags, the score, and the suggested action. Only this analysis will reveal whether, for example, a local rule, a DNS-based check, or MTA enforcement caused the rejection.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Spam that slipped through requires a reverse analysis. Determine whether the message reached Rspamd at all, which symbols are missing, and whether a configured action was not triggered due to the score. If expected DNS results are missing, investigate the resolver, reachability, and response times before writing new content rules. Not every campaign can be effectively captured by a single threshold.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A Redis outage must be handled separately because it can affect state-based functions. Check the filter\u2019s connection to the storage, the Redis service logs, and then determine which modules depend on this state. Static checks can still provide results, but Bayesian training, greylisting, or other state-dependent evaluations require a functioning data store.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If an expected rule does not trigger, first check its actual loading location, syntax, and the message format it is supposed to process. Header, plaintext, HTML, and URL checks examine different types of data. In SpamAssassin, rule files can be checked with a syntax check before deployment; the following command checks the configuration and does not affect production mail delivery.  <\/p>\n<div class=\"wh-code-window\" data-wh-code style=\"margin:28px 0 34px;border:1px solid #2c4656;border-radius:12px;overflow:hidden;background:#132a3b;box-shadow:0 9px 25px -13px rgba(15,35,55,.2)\"><div class=\"wh-code-toolbar\" style=\"display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;background:#223e50;color:#edf5fa;font-size:13px;line-height:1.5;font-weight:600\"><span>Terminal<\/span><button type=\"button\" class=\"wh-code-copy\" data-wh-copy hidden style=\"padding:6px 11px;border:1px solid #7893a1;border-radius:6px;background:transparent;color:#fff;font-size:12px;line-height:1.5;font-weight:600;cursor:pointer\">Copy code<\/button><span class=\"wh-copy-status\" aria-live=\"polite\"><\/span><span data-wh-copy-success hidden>Copied<\/span><span data-wh-copy-fallback hidden>Code highlighted\u2014please copy<\/span><\/div><pre class=\"wh-code\" data-no-translation translate=\"no\" style=\"display:block;margin:0;padding:20px;max-width:100%;overflow-x:auto;color:#edf5fa;background:#132a3b;font:14px\/1.75 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre;direction:ltr;text-align:left\"><code class=\"language-bash\" style=\"font:inherit;color:inherit;background:transparent;padding:0;border:0;white-space:inherit\">spamassassin --lint<\/code><\/pre><\/div><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For recurring issues, keep track of timestamps, queue behavior, DNS queries, and response errors in a single view. This allows you to determine whether a delayed delivery is caused by the MTA, an external query, or the filtering process. For more in-depth Linux telemetry and monitoring of running systems, see the supplementary article <a href=\"https:\/\/webhosting.de\/en\/bpftool-introduction-modern-kernel-analysis-linux-ebpf-observability-tracing-core\/\">bpftool for modern kernel analysis<\/a> Technical Fundamentals.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Do not reflexively change global scores or extensive rule sets after a single incident. Instead, secure the relevant message in accordance with data protection regulations, compare it with similar cases, and document the cause along with the change. This <strong style=\"font-weight:700;color:inherit\">Error analysis<\/strong> ensures transparent corrections and reduces the risk that an exception rule will later incorrectly handle large volumes of legitimate or unwanted emails.<\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"entscheidung-nach-serverprofil\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"entscheidung-nach-serverprofil\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Make a decision based on the server profile<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">It makes sense to continue running SpamAssassin specifically if the existing mail server is reliably managed with its own rules, per-user settings, and operational workflows. The system can be expanded based on rules and points and supports plugins as well as various configuration and storage methods. Switching simply because an installation is old offers no technical benefit if there is no specific operational problem.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Rspamd is an obvious choice for a new build if Milter integration, modern authentication checks, centralized control, and stateful modules are planned together from the start. Its architecture includes worker roles for processing, proxy connections, and administration; at the same time, DNS and, if applicable, Redis must be operated reliably as operational dependencies. This is an architectural decision, not a general performance guarantee.   <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For established hosting environments with many special cases, the <strong style=\"font-weight:700;color:inherit\">Parallel operation<\/strong> usually the most robust option. It reveals which of your own SpamAssassin rules are still needed, whether Rspamd symbols accurately reflect the expected causes, and which recipient groups are particularly sensitive to misclassifications. Only on this basis can a decision be made regarding a complete transition or a deliberate decision to stick with the existing setup.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The choice therefore depends less on the number of mailboxes alone than on maintenance capacity and dependencies. Those who can consistently manage Redis, DNS resolvers, log analysis, and updates can run Rspamd\u2014including its learning and state-based features\u2014consistently. If these resources are lacking, a lean, well-documented setup with clear rules may pose the lower operational risk.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Regardless of the product, do not deploy the Rspamd controller on the network without protection. The documentation recommends local binding or firewall protection; for remote access, access protection and a password hash are required. Furthermore, do not adopt third-party rules or historical scores without verifying them. Individual measurements or conspicuous campaigns do not constitute a basis for a global filtering policy.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The right decision, therefore, is a <strong style=\"font-weight:700;color:inherit\">Risk Assessment<\/strong>: Protection against unwanted messages must be balanced against the consequences of losing legitimate emails. For each action, define who is responsible for it, how it is reviewed, and how to revert to the previous state. This ensures that the email spam filter remains a manageable part of email operations rather than an automated system that is difficult to understand.<\/p>\n<\/section><section class=\"wh-sources\" style=\"margin:40px 0 0;padding:24px 0 0;border-top:1px solid #dce5e9;color:#596b7b;font-size:14px;line-height:1.65\"><h2 style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Sources and Current State of Knowledge<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Status of the research: <time datetime=\"2026-10-20\">2026-10-20<\/time><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Scope of the research: SpamAssassin documentation for the stable 4.0.x branch; Rspamd based on the documented stable features, with release 4.2.2 as the GitHub release listed on October 20, 2026. Development branches and undocumented commits are not included.<\/p><div class=\"wh-source-urls\"><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/docs.rspamd.com\/tutorials\/migrate_sa\/<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/docs.rspamd.com\/getting-started\/<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/spamassassin.apache.org\/full\/4.0.x\/doc\/spamassassin.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/spamassassin.apache.org\/full\/4.0.x\/doc\/spamd.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/docs.rspamd.com\/developers\/architecture\/<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/docs.rspamd.com\/getting-started\/understanding-rspamd\/<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/docs.rspamd.com\/<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/spamassassin.apache.org\/full\/4.0.x\/doc\/Mail_SpamAssassin_Conf.html<\/span><\/p><\/div><\/section><\/div>","protected":false},"excerpt":{"rendered":"<p>Rspamd and SpamAssassin differ primarily in terms of architecture, integration, and operational overhead. This comparison shows when an existing, proven system is sufficient, when Rspamd is suitable for a new deployment, and how running both systems in parallel can ensure a smooth migration.<\/p>","protected":false},"author":1,"featured_media":22053,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[821],"tags":[],"class_list":["post-21890","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spambekaempfung-web_hosting"],"acf":[],"_links":{"self":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/21890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/comments?post=21890"}],"version-history":[{"count":2,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/21890\/revisions"}],"predecessor-version":[{"id":21895,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/21890\/revisions\/21895"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/media\/22053"}],"wp:attachment":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/media?parent=21890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/categories?post=21890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/tags?post=21890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}