mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-02 17:14:31 +02:00
Rspamd: update history key in Redis configuration (#3927)
This commit is contained in:
parent
b5b193ca4c
commit
e21e5e0490
3 changed files with 24 additions and 1 deletions
|
@ -126,6 +126,15 @@ function __rspamd__setup_redis() {
|
|||
servers = "127.0.0.1:6379";
|
||||
expand_keys = true;
|
||||
|
||||
EOF
|
||||
|
||||
# We do not use `{{HOSTNAME}}` but only `{{COMPRES}}` to better support
|
||||
# Kubernetes, see https://github.com/orgs/docker-mailserver/discussions/3922
|
||||
cat >"${RSPAMD_LOCAL_D}/history_redis.conf" << "EOF"
|
||||
# documentation: https://rspamd.com/doc/modules/history_redis.html
|
||||
|
||||
key_prefix = "rs_history{{COMPRESS}}";
|
||||
|
||||
EOF
|
||||
|
||||
# Here we adjust the Redis default configuration that we supply to Redis when starting it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue