From e43e509c773c7f69ab4c479c708d20aae0cf063d Mon Sep 17 00:00:00 2001 From: Timotheus Pokorra Date: Thu, 19 Feb 2015 13:38:54 +0100 Subject: CentOS7: make sure we are using the correct path for the clamd.sock (#3565) reading from /etc/clamd.d/amavisd.conf, otherwise defaulting to /var/spool/amavisd/clamd.sock which was previously used --- share/templates/amavisd.conf.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/templates/amavisd.conf.tpl b/share/templates/amavisd.conf.tpl index 12fb4ed..1fa43fb 100644 --- a/share/templates/amavisd.conf.tpl +++ b/share/templates/amavisd.conf.tpl @@ -373,7 +373,7 @@ use strict; # \#\## http://www.clamav.net/ ['ClamAV-clamd', - \&ask_daemon, ["CONTSCAN {}\n", "/var/spool/amavisd/clamd.sock"], + \&ask_daemon, ["CONTSCAN {}\n", "$clamdsock"], qr/\bOK\$/m, qr/\bFOUND\$/m, qr/^.*?: (?!Infected Archive)(.*) FOUND\$/m ], # # NOTE: run clamd under the same user as amavisd, or run it under its own -- cgit v1.1