1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-24 03:49:27 +02:00
Mailu/core/rspamd/conf/antivirus.conf

15 lines
371 B
Plaintext

{% if ANTIVIRUS == 'clamav' %}
clamav {
scan_mime_parts = true;
symbol = "CLAM_VIRUS";
type = "clamav";
servers = "{{ ANTIVIRUS_ADDRESS }}:3310";
timeout = 60;
retransmits = 10;
{% if ANTIVIRUS_ACTION|default('discard') == 'reject' %}
action = "reject"
{% endif %}
}
{% endif %}
.include(try=true,priority=1,duplicate=merge) "/overrides/antivirus.conf"