Tools & TutorialsMEDIUM

Rspamd 4.0.0 - New Scan Protocol and Memory Savings Released

Featured image for Rspamd 4.0.0 - New Scan Protocol and Memory Savings Released
HNHelp Net Security
Rspamdopen-sourcespam filteringconfigurationmemory optimization
🎯

Basically, Rspamd 4.0.0 makes spam filtering faster and requires some setup changes.

Quick Summary

Rspamd 4.0.0 has launched, featuring a new scan protocol and memory optimizations. Users must follow migration steps for a smooth upgrade. This release enhances spam filtering efficiency significantly.

What Happened

The open-source spam filtering platform Rspamd has released version 4.0.0, which includes major updates to its infrastructure. This new version brings enhancements in the scan protocol, memory management, and configuration system. Notably, some changes are breaking, meaning users must take specific steps to migrate before upgrading. This release aims to improve performance and efficiency in spam filtering operations.

One of the most significant updates is the introduction of a new scan protocol. The /checkv3 endpoint replaces the previous method of using HTTP headers, now utilizing structured JSON or msgpack for metadata transport. This change enhances the way data is handled, allowing for more efficient requests and responses.

Who's Affected

The updates in Rspamd 4.0.0 will primarily affect system administrators and operators who manage spam filtering systems. Those using older versions of Rspamd will need to adapt to the new features and migration steps. The changes are particularly relevant for environments that rely on multi-worker deployments, as they can significantly impact memory usage and performance.

Additionally, users who have integrated Rspamd with external libraries, such as libfasttext, will need to adjust their configurations since the dependency has been removed in this release. The new built-in memory management system is designed to optimize performance across all worker processes.

What Data Was Exposed

While the release does not indicate any data exposure, the changes may affect how data is processed and stored. The new memory model and hash storage improvements aim to reduce the overall memory footprint, potentially saving between 500MB and 7GB of RAM in multi-worker setups. This optimization is crucial for maintaining efficient operations in environments that process high volumes of spam.

Moreover, the introduction of fuzzy hashes with multiple flags allows for more sophisticated detection of phishing attempts, enhancing the overall security posture of users relying on Rspamd for spam filtering.

What You Should Do

For those planning to upgrade to Rspamd 4.0.0, it is essential to follow the migration steps outlined by the developers. Operators must run the command rspamadm statistics_dump migrate to ensure data compatibility with the new version. It is also advisable to review the updated configuration settings, as the new templating system and HTTPS support may require adjustments to existing setups.

In summary, Rspamd 4.0.0 offers significant improvements and optimizations. However, users must be proactive in addressing the breaking changes to fully leverage the benefits of this new release.

🔒 Pro insight: The shift to a built-in memory model could drastically reduce resource consumption in large-scale deployments, enhancing Rspamd's appeal for enterprise use.

Original article from

HNHelp Net Security· Sinisa Markovic
Read Full Article

Related Pings

LOWTools & Tutorials

Intel Releases Data Center Performance Guides on GitHub

Intel has launched an open-source repository on GitHub for data center performance. This resource provides tuning guides and optimization recipes, making it easier for engineers to enhance their systems. Open to contributions, it aims to evolve with user feedback and real-world experience.

Help Net Security·
MEDIUMTools & Tutorials

Developing Skills for Modern Software Development Explained

Experts discuss the skills needed for modern software development. New grads and security professionals can learn how to adapt to changing demands in the industry.

SC Media·
MEDIUMTools & Tutorials

8 Ways to Bolster Your Security Posture on the Cheap

Learn how to enhance your cybersecurity without overspending. These eight strategies focus on maximizing existing tools and fostering a culture of security awareness. Discover practical solutions that can significantly improve your defenses.

CSO Online·
MEDIUMTools & Tutorials

macOS Tahoe - New Feature Blocks ClickFix Attacks

Apple's new macOS Tahoe feature blocks ClickFix attacks, enhancing user security against social engineering. This update is vital for protecting command execution in the Terminal.

Cyber Security News·
MEDIUMTools & Tutorials

Open-Source Cybersecurity Tools - March 2026 Highlights

March 2026 unveils exciting open-source cybersecurity tools! Discover how BlacksmithAI and Cloud-Audit can enhance your security measures. These tools are designed to empower teams in tackling vulnerabilities effectively.

Help Net Security·
LOWTools & Tutorials

ISC Stormcast - Latest Insights for March 31, 2026

Tune in to the latest ISC Stormcast for March 31, 2026. This podcast shares expert insights on current cybersecurity threats and tools. Stay informed and protect your digital assets!

SANS ISC·