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.
This commit is contained in:
parent
48318a4999
commit
dec64eef32
@ -15,6 +15,8 @@ RUN apk add --update \
|
|||||||
&& chmod 750 /run/clamav \
|
&& chmod 750 /run/clamav \
|
||||||
&& sed -i '/Foreground yes/s/^#//g' /etc/clamav/clamd.conf \
|
&& sed -i '/Foreground yes/s/^#//g' /etc/clamav/clamd.conf \
|
||||||
&& sed -i '/TCPSocket 3310/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
|
&& sed -i '/Foreground yes/s/^#//g' /etc/clamav/freshclam.conf
|
||||||
|
|
||||||
# Port provision
|
# Port provision
|
||||||
|
@ -66,7 +66,7 @@ services:
|
|||||||
- redis
|
- redis
|
||||||
|
|
||||||
clamd-mailcow:
|
clamd-mailcow:
|
||||||
image: mailcow/clamd:1.1
|
image: mailcow/clamd:1.2
|
||||||
build: ./data/Dockerfiles/clamd
|
build: ./data/Dockerfiles/clamd
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user