[Rspamd] Do not try scanning eml with clamav when it's off

This commit is contained in:
Dmitriy Alekseev
2025-12-30 00:27:45 +01:00
committed by GitHub
parent 038b2efb75
commit 7733844722

View File

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