is presented Release system of spam filtering RSPAMD 3.0 providing means for evaluating messages on various criteria, including rules, statistical methods and black lists, based on the final weight of the message used to make a decision on the need for blocking. RSPAMD supports almost all the features implemented in Spamassassin, and has a number of features that allow you to filter mail on average 10 times faster than SPAMASSASSIN, as well as provide better filtering quality. The system code is written in SI language and extends under the Apache 2.0 license.
RSPAMD is built using event-oriented architecture (Event-Driven ) and is originally designed to use in high-loaded systems, allowing you to process hundreds of messages per second. The rules for identifying spam signs are distinguished by high flexibility and in the simplest form may contain regular expressions, and in more complex situations may be issued in the LUA language. Expanding the functionality and adding new types of checks is implemented through modules that can be created in SI and LUA languages. For example, modules are available for checking the sender using SPF, confirm the sender’s domain via DKIM, forming requests to DNSBL lists. To simplify the setup, creating rules and tracking statistics, an administrative Web interface is provided.
A significant increase in the version number is associated with the introduction of significant changes to the internal architecture, especially in the part that ensure the analysis of HTML, which were completely rewritten. The new parser disassembles HTML using the DOM model and forming the tag tree. The new issue also offers a CSS parser, which, in combination with the new Parser HTML, allows you to correctly extract data from email letters with modern HTML markup, including distinguishing visible and invisible content. It is noteworthy that the parser code is written not in the C language, but on C ++ 17, which requires for assembling the presence of a compiler with support for this standard.
Other innovations:
- Added support for API Amazon Web Services (AWS), which provided the ability to directly access the Amazon cloud services from Lua API. As an example, a plugin preserves all messages to Amazon S3
- reworked the code for the formation of reports related to the use of technology DMARC . Functionality for sending reports is transferred to a separate command Spamadm Dmarc_report .
- For mailing lists added support for “DMARC MUNGING”, replacing the FROM addresses in messages to the mailing address, if the correct DMARC rules are specified for the message.
- Added plugin external_relay, a decisive problem using in plugins, such as SPF, IP addresses of a trust mail relay, instead of the sender’s address.
- Added the “RSPamadm Bayes_dump” command to record and download Baieco tokens, which allows you to transfer them between different RSPAMD instances.
- Added plugin to support the spam joint system pyzor
Storage