From 776975ac02bf2b898efd7422c9466135a5cef716 Mon Sep 17 00:00:00 2001 From: dpeca Date: Tue, 26 Nov 2019 21:43:14 +0100 Subject: [PATCH] clamd.sock fix for exim --- src/deb/vesta/postinst | 1 + 1 file changed, 1 insertion(+) diff --git a/src/deb/vesta/postinst b/src/deb/vesta/postinst index cd650c1f..97a9400e 100755 --- a/src/deb/vesta/postinst +++ b/src/deb/vesta/postinst @@ -27,6 +27,7 @@ fi touch /var/lib/clamav/clamd.sock chown clamav:clamav /var/lib/clamav/clamd.sock sed -i "s#/var/run/clamav/clamd.ctl#/var/lib/clamav/clamd.sock#g" /etc/clamav/clamd.conf +sed -i "s#/var/run/clamav/clamd.ctl#/var/lib/clamav/clamd.sock#g" /etc/exim4/exim4.conf.template systemctl restart clamav-daemon systemctl restart clamav-freshclam