squidclamav/squidclamav-7.2-config.patch

18 lines
786 B
Diff

--- squidclamav-7.2/etc/squidclamav.conf.orig 2023-08-05 19:41:18.097806854 +0200
+++ squidclamav-7.2/etc/squidclamav.conf 2023-08-05 19:43:07.748235461 +0200
@@ -17,12 +17,12 @@
# When a virus is found then redirect the user to this URL. If this directive
# is disabled squidclamav will use c-icap error templates to report issues.
-redirect http://proxy.domain.dom/cgi-bin/clwarn.cgi
+redirect http://localhost/cgi-bin/squidclamaw/clwarn.cgi
# Path to the clamd socket, use clamd_local if you use Unix socket or if clamd
# is listening on an Inet socket, comment clamd_local and set the clamd_ip and
# clamd_port to the corresponding value.
-clamd_local /var/run/clamav/clamd.ctl
+clamd_local /var/run/clamav/clamd.socket
#clamd_ip 192.168.1.5,127.0.0.1
#clamd_port 3310