Rapid spam filtering system.
  • C 50.7%
  • C++ 27.6%
  • Lua 15.9%
  • RobotFramework 1.3%
  • CMake 1.2%
  • Other 3.3%
Find a file
Vsevolod Stakhov 8fd93ba012
Merge pull request #5960 from lab8-hmurakami/fix/redis-backend-include-memory
[Fix] Add missing #include <memory> in redis_backend.cxx
2026-03-31 10:10:28 +01:00
.claude [Minor] Some more instructions for Claude Code 2025-12-02 13:24:53 +00:00
.cursor/rules Merge branch 'master' into vstakhov-aliases-rewamp 2025-10-06 12:56:30 +01:00
.github [Project] Disable all npm dependency updates including security fixes 2026-03-26 08:55:56 +03:00
clang-plugin [Fix] clang-plugin: add null check for struct type in check_struct_type 2026-02-05 14:04:57 +00:00
cmake [Fix] Fix build with ENABLE_HYPERSCAN=OFF 2026-03-15 11:48:13 +00:00
conf feat: allow utilize own rspamd mirror via env variable 2026-03-14 20:44:00 +01:00
contrib [Fix] Backport fixes from libucl 2026-03-25 08:33:08 +00:00
debian Revert "Use PUC-Rio Lua in packages" 2025-12-30 09:47:39 +00:00
doc Modify rspamc doc to clarify that control password can also be passed by path 2025-05-16 22:26:03 +02:00
docker [Minor] Replace Dockerfile with advertisement for image 2023-11-30 22:24:47 +02:00
freebsd [Fix] remove obsolete rspamd-redirector files 2023-03-05 10:55:03 +00:00
interface Merge pull request #5900 from moisseev/classifiers 2026-02-23 09:25:51 +00:00
local.d [Feature] Add URL deep processing architecture 2025-11-14 12:27:21 +00:00
lualib [Test] Add unit tests for lua_stat filename_to_tokens 2026-03-28 20:47:13 +03:00
rpm [Feature] Add mapstats utility for multimap statistics analysis 2026-02-02 10:57:00 +03:00
rules [Feature] Add dual-mode HTML fuzzy: template matching + phishing detection 2026-02-13 16:47:13 +00:00
src [Fix] Add missing #include <memory> in redis_backend.cxx 2026-03-31 13:55:33 +09:00
test Merge pull request #5956 from moisseev/att-fn-sub-tokens 2026-03-30 09:39:27 +01:00
utils [Minor] Fix security issues and add security documentation 2026-02-02 11:43:59 +03:00
.clang-format [Rework] Use clang-format to unify formatting in all sources 2023-07-26 10:49:23 +01:00
.gitignore [Minor] Remove .factory from version control 2026-01-11 11:40:58 +00:00
.luacheckrc [Fix] Move binary msgpack data from KEYS to ARGV in Bayes Redis scripts 2026-02-24 13:38:31 +00:00
.overcommit.yml [Feature] Pluggable async hyperscan cache backend 2026-01-09 19:38:37 +00:00
.stylelintrc.json [Test] Remove deprecated Stylelint rule 2023-12-09 17:49:20 +03:00
.tidyallrc [Minor] Remove tidy checks as they are crap 2019-07-22 16:25:12 +01:00
AUTHORS.md Update AUTHORS.md 2025-03-15 15:51:20 -05:00
blas-config.h.in [Feature] Support BLIS blas library 2020-09-02 13:46:16 +01:00
ChangeLog Release 4.0.0 2026-03-30 12:56:55 +01:00
CLAUDE.md [Minor] Try to fix CC issue with tabs 2026-02-12 16:27:21 +00:00
CMakeLists.txt [Minor] Update version to 4.0.1 2026-03-30 14:31:09 +01:00
config.h.in [Feature] Replace libfasttext with mmap-based built-in shim 2026-02-21 16:43:16 +00:00
CONTRIBUTING.md [Minor] Some neats 2023-11-26 22:47:58 +00:00
dist.sh [Minor] Simplify creation of dist tarball that is reproducible 2020-01-18 16:26:39 +00:00
eslint.config.mjs [Test] Update JS linters 2025-10-09 16:55:04 +03:00
LICENSE.md [Minor] Proper license format 2018-09-22 13:10:55 +01:00
lua_style.md Spelling (#4086) 2022-02-22 22:01:28 +00:00
package-lock.json [Test] Update dev dependencies 2026-02-28 09:29:07 +03:00
package.json [Test] Update dev dependencies 2026-02-28 09:29:07 +03:00
README.md Update README links to point to new documentation site 2026-02-21 14:39:28 +01:00
rspamd.service [Minor] Require network-online target as well 2018-03-08 09:48:30 +00:00
set-version.sh [Minor] Update Debian and RPM package versions 2020-02-14 23:21:42 +00:00

Rspamd

GHA

Introduction

Rspamd is an advanced spam filtering system and email processing framework that allows evaluation of messages by a number of rules including regular expressions, statistical analysis and custom services such as URL black lists. Each message is analysed by Rspamd and given a verdict that might be used by MTA for further processing (e.g. to reject a message, or add a special header indicating spam) along with other information, such as possible DKIM signature or modifications suggested for a message.

Rspamd can act as a Milter allowing direct interaction with popular MTA systems, such as Postfix or Sendmail.

Rspamd is designed to process hundreds of messages per second simultaneously, and provides a number of useful features including a comprehensive Lua API that allows access to messages processing in various aspects as well as asynchronous network API to access external resources, such as DNS, HTTP or even generic TCP/UDP services.

Getting Started

A good starting point to study how to install and configure Rspamd is the quick start guide.

Rspamd is packaged for the major Linux distributions, and is also available via FreeBSD ports, NetBSD pkgsrc and OpenBSD ports.

We advice to use packages provided by Rspamd project if available for your OS instead of packages that might be provided by some Linux distributives, as they are usually out of date and does not provide the desired spam filtering quality nor supported by Rspamd project.

Spam filtering features

Rspamd is shipped with various spam filtering modules and features enabled just out of the box. The full list of built-in modules could be found in the Rspamd documentation.

If that is not enough, Rspamd provides an extensive Lua API to write your own rules and plugins: https://docs.rspamd.com/developers/writing_rules/

License

This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details

Contributing

Please read CONTRIBUTING.md for details on the process for submitting pull requests to us.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in rspamd by you, as defined in the APACHE 2.0 license, shall be licensed as above, without any additional terms or conditions.

Authors

See also the list of contributors who participated in this project.

References