Bladeren bron

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.
Michael Kuron 8 jaren geleden
bovenliggende
commit
dec64eef32
2 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. 2 0
      data/Dockerfiles/clamd/Dockerfile
  2. 1 1
      docker-compose.yml

+ 2 - 0
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

+ 1 - 1
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: