This commit is contained in:
Dmitriy Alekseev 2026-01-08 11:47:55 +00:00 committed by GitHub
commit acff4d55f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -1,3 +1,4 @@
{%- if env.SKIP_CLAMD == "n" or env.SKIP_CLAMD == "no" -%}
clamav {
# Scan whole message
scan_mime_parts = false;
@ -9,3 +10,4 @@ clamav {
servers = "clamd:3310";
max_size = 20971520;
}
{% endif %}

View file

@ -97,6 +97,7 @@ services:
- REDIS_SLAVEOF_PORT=${REDIS_SLAVEOF_PORT:-}
- REDISPASS=${REDISPASS}
- SPAMHAUS_DQS_KEY=${SPAMHAUS_DQS_KEY:-}
- RSPAMD_SKIP_CLAMD=${SKIP_CLAMD:-n}
volumes:
- ./data/hooks/rspamd:/hooks:Z
- ./data/conf/rspamd/custom/:/etc/rspamd/custom:z