From dec64eef32ebd5077d9b87d8028df556fe88d5b0 Mon Sep 17 00:00:00 2001 From: Michael Kuron Date: Wed, 2 Aug 2017 14:36:15 +0200 Subject: [PATCH] Disable ClamAV phishing filter ClamAV has a phishing filter built in, but it generates too many false positives. We can disable it without risk because rspamd also checks for phishing itself. --- data/Dockerfiles/clamd/Dockerfile | 2 ++ docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/data/Dockerfiles/clamd/Dockerfile b/data/Dockerfiles/clamd/Dockerfile index 48edeae1..aa50b807 100644 --- a/data/Dockerfiles/clamd/Dockerfile +++ b/data/Dockerfiles/clamd/Dockerfile @@ -15,6 +15,8 @@ RUN apk add --update \ && chmod 750 /run/clamav \ && sed -i '/Foreground yes/s/^#//g' /etc/clamav/clamd.conf \ && sed -i '/TCPSocket 3310/s/^#//g' /etc/clamav/clamd.conf \ + && sed -i 's/#PhishingSignatures yes/PhishingSignatures no/g' /etc/clamav/clamd.conf \ + && sed -i 's/#PhishingScanURLs yes/PhishingScanURLs no/g' /etc/clamav/clamd.conf \ && sed -i '/Foreground yes/s/^#//g' /etc/clamav/freshclam.conf # Port provision diff --git a/docker-compose.yml b/docker-compose.yml index e29285ec..0c0ed6ec 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -66,7 +66,7 @@ services: - redis clamd-mailcow: - image: mailcow/clamd:1.1 + image: mailcow/clamd:1.2 build: ./data/Dockerfiles/clamd restart: always environment: