1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-05 14:55:20 +02:00
Mailu/core/rspamd/conf/antivirus.conf

15 lines
371 B
Plaintext
Raw Normal View History

{% if ANTIVIRUS == 'clamav' %}
clamav {
scan_mime_parts = true;
symbol = "CLAM_VIRUS";
type = "clamav";
2023-03-09 08:28:18 +00:00
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"