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.
master
Michael Kuron 2017-08-02 14:36:15 +02:00 committed by Michael Kuron
parent 48318a4999
commit dec64eef32
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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: