From a2faa8add90d512e56c4dae999a813b53d513a5b Mon Sep 17 00:00:00 2001 From: Chris Vogel Date: Tue, 17 Oct 2023 14:49:32 +0200 Subject: [PATCH 1/2] add redis database configuration https://github.com/YunoHost/issues/issues/2266 without this rspamd does not use the redis database --- conf/rspamd/redis.conf | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 conf/rspamd/redis.conf diff --git a/conf/rspamd/redis.conf b/conf/rspamd/redis.conf new file mode 100644 index 000000000..03152581e --- /dev/null +++ b/conf/rspamd/redis.conf @@ -0,0 +1,2 @@ +# set redis server +servers = "127.0.0.1"; From 379b6922ad16cb744c9c3fba2138613fbf2e68d5 Mon Sep 17 00:00:00 2001 From: Chris Vogel Date: Tue, 17 Oct 2023 21:13:09 +0200 Subject: [PATCH 2/2] install file to redis configuration ouch... Thanks @Tagadda! --- hooks/conf_regen/31-rspamd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hooks/conf_regen/31-rspamd b/hooks/conf_regen/31-rspamd index 6807ce0cd..6333a755f 100755 --- a/hooks/conf_regen/31-rspamd +++ b/hooks/conf_regen/31-rspamd @@ -13,6 +13,8 @@ do_pre_regen() { "${pending_dir}/etc/rspamd/local.d/dkim_signing.conf" install -D -m 644 rspamd.sieve \ "${pending_dir}/etc/dovecot/global_script/rspamd.sieve" + install -D -m 644 redis.conf \ + "${pending_dir}/etc/rspamd/local.d/redis.conf" } do_post_regen() {