summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorTimotheus Pokorra <tp@tbits.net>2015-02-19 13:38:54 +0100
committerTimotheus Pokorra <timotheus.pokorra@solidcharity.com>2015-02-20 07:23:56 +0100
commite43e509c773c7f69ab4c479c708d20aae0cf063d (patch)
tree53944fd6cff4bdc98851060daeb54e547c65f8ec /share
parentae9894cee0f8b85978d6b96d57d0a006d2c975ae (diff)
downloadpykolab-e43e509c773c7f69ab4c479c708d20aae0cf063d.tar.gz
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
Diffstat (limited to 'share')
-rw-r--r--share/templates/amavisd.conf.tpl2
1 files changed, 1 insertions, 1 deletions
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