File squidclamav.conf.patch of Package squidclamav
Index: squidclamav-6.11/etc/squidclamav.conf
===================================================================
--- squidclamav-6.11.orig/etc/squidclamav.conf
+++ squidclamav-6.11/etc/squidclamav.conf
@@ -14,16 +14,16 @@
maxsize 5000000
# When a virus is found then redirect the user to this URL
-redirect http://proxy.domain.dom/cgi-bin/clwarn.cgi
+redirect http://127.0.0.1/cgi-bin/clwarn.cgi
# Path to the squiGuard binary if you want URL filtering, note that you'd better
# use the squid configuration directive 'url_rewrite_program' instead.
-#squidguard /usr/local/squidGuard/bin/squidGuard
+#squidguard /usr/sbin/squidGuard
# 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
@@ -65,6 +65,9 @@ safebrowsing 0
#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$
@@ -73,7 +76,9 @@ safebrowsing 0
#abortcontent ^.*application\/x-mms-framed.*$
# White list some sites
-#whitelist .*\.clamav.net
+whitelist .*\.clamav.net
+whitelist .*\.suse.de
+whitelist .*\.opensuse.org
# See also 'trustuser' and 'trustclient' configuration directives