This is an automated email from the ASF dual-hosted git repository. rcordier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 0d03ee73cca28a28e084916f68375240852fd4e6 Author: Quan Tran <hqt...@linagora.com> AuthorDate: Mon Mar 31 11:21:26 2025 +0700 JAMES-4124 Add a README section for Rspamd + Apache Kvrocks setup --- third-party/rspamd/README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/third-party/rspamd/README.md b/third-party/rspamd/README.md index f1bcffeeee..eb374341bb 100644 --- a/third-party/rspamd/README.md +++ b/third-party/rspamd/README.md @@ -242,4 +242,17 @@ Note that you can turn off `reportAdded` (which reports incoming messages as Ham </configuration> </listener> </listeners> -``` \ No newline at end of file +``` + +## Apache Kvrocks as Rspamd storage +The Rspamd extension can use Apache Kvrocks as storage. Apache Kvrocks is a more suitable option for Rspamd storage compared to Redis for several reasons: +- Kvrocks stores data on disk, which is beneficial when dealing with large datasets that may not fit entirely in memory. This ensures that you can handle more extensive spam training data without running into Redis memory limitations. +- Kvrocks is Redis APIs compatible. + +We document accordingly the docker compose setup: +- [Apache James + Rspamd + Apache Kvrocks standalone](docker-compose-rspamd-with-kvrocks-standalone.yml) +- [Apache James + Rspamd + Apache Kvrocks Sentinel](docker-compose-rspamd-with-kvrocks-sentinel.yml) + + Please note that to make Rspamd work well with Kvrocks Sentinel: + - Configure `slave-read-only no` in `kvrocks.conf` file (allow Rspamd to execute read-only Lua script to get its Bayes statistics against the Kvrocks replicas, which Kvrocks is strict about by default). + - Use Rspamd `3.10` or later. \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org