File squidclamav.conf.patch of Package squidclamav
Index: squidclamav-7.1/etc/squidclamav.conf
===================================================================
--- squidclamav-7.1.orig/etc/squidclamav.conf
+++ squidclamav-7.1/etc/squidclamav.conf
@@ -17,12 +17,12 @@ maxsize 5M
# 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://127.0.0.1/cgi-bin/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
@@ -77,6 +77,9 @@ scan_mode ScanAllExcept
#abortcontent ^video\/x-flv$
#abortcontent ^video\/mp4$
+# Do not scan RPM files
+# abortcontent ^application\/x-rpm$
+
# Do not scan flash files
#abort ^.*\.swf$
#abortcontent ^application\/x-shockwave-flash$
@@ -86,6 +89,10 @@ scan_mode ScanAllExcept
# White list some sites
#whitelist .*\.clamav.net
++whitelist .*\.clamav.net
++whitelist .*\.suse.de
++whitelist .*\.suse.com
++whitelist .*\.opensuse.org
####