mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-10-29 01:02:19 +00:00
Don't generate the clamav configuration if ANTIVIRUS is none.
Otherwise the rspamd will try to connect to none, timing out several times and leading to poor performance.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{% if ANTIVIRUS == 'clamav' %}
|
||||
clamav {
|
||||
attachments_only = true;
|
||||
symbol = "CLAM_VIRUS";
|
||||
type = "clamav";
|
||||
servers = "antivirus:3310";
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user