diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e3bb230..13c5a25f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ v1.6.1 - unreleased - Enhancement: Create an Authentication Token with IPv6 address restriction ([#829](https://github.com/Mailu/Mailu/issues/829)) - Bug: Fix creating new fetched accounts - Enhancement: Missing wildcard option in alias flask command ([#869](https://github.com/Mailu/Mailu/issues/869)) +- Bug: Fix poor performance if ANTIVIRUS is configured to none. v1.6.0 - 2019-01-18 ------------------- diff --git a/services/rspamd/conf/antivirus.conf b/services/rspamd/conf/antivirus.conf index a72f79c1..7bf646b8 100644 --- a/services/rspamd/conf/antivirus.conf +++ b/services/rspamd/conf/antivirus.conf @@ -1,6 +1,8 @@ +{% if ANTIVIRUS == 'clamav' %} clamav { attachments_only = true; symbol = "CLAM_VIRUS"; type = "clamav"; servers = "antivirus:3310"; } +{% endif %} diff --git a/tests/compose/filters/mailu.env b/tests/compose/filters/mailu.env index 25c7c133..e165fee2 100644 --- a/tests/compose/filters/mailu.env +++ b/tests/compose/filters/mailu.env @@ -60,7 +60,7 @@ WEBMAIL=none WEBDAV=none # Antivirus solution (value: clamav, none) -#ANTIVIRUS=clamav +ANTIVIRUS=clamav #Antispam solution ANTISPAM=none