Page 1 of 1

Fix: Virtualmin can't set Local server scanner for ClamAV with Cent OS 7

Posted: Thu Nov 22, 2018 8:36 am
by Saman
If you finding difficulties setting Local server scanner mode for Virtualmin for ClamAV, here is what you need to do.

Code: Select all

touch /var/run/clamd.scan/clamd.sock
chown clamscan: /var/run/clamd.scan/clamd.sock
Uncommented these lines in /etc/clamd.d/scan.conf:

Code: Select all

PidFile /var/run/clamd.scan/clamd.pid
LocalSocket /var/run/clamd.scan/clamd.sock
Finally restart both Postfix and ClamAV

Code: Select all

systemctl restart postfix
systemctl restart [email protected]