Work notes

malware acl condition: clamd /var/run/clamd.scan/clamd.sock : unable to connect to UNIX socket (/var/run/clamd.scan/clamd.sock): Permission denied

The exim + clamav bundle

The error malware acl condition: clamd /var/run/clamd.scan/clamd.sock : unable to connect to UNIX socket (/var/run/clamd.scan/clamd.sock): Permission denied appeared

It was solved very simply: I added the antivirus socket to the apache group.

chgrp apache /var/run/clamd.scan

Everything worked.

The same problem appears if the antivirus is out of date. You need to update the antivirus.

yum list clamav

yum update clamav

freshclam

After that it starts working correctly.

The clamav update problem in isp manager

When you try to update you see the message:

"An error occurred while installing the following packages: ispmanager-pkg-clamav-exim".

In the logs:

Error: Package: clamav-scanner-0.99.4-1.el7.noarch (epel)

The problem is that isp manager installs its own repository for each panel version, and after the paid update period ends, old software may be removed from the servers. In the file /etc/yum.repos.d/ispsystem.repo, mirrorlist= points to the isp server, for example:

mirrorlist=http://download.ispsystem.com/repo/centos/5.xxx/mirrorlist.txt

If this file wasn't updated when isp manager was updated, replace xxx with your version number and run the installation again (in the ISP panel: Settings-Features-Mail server), and clamav will install without errors.

Warning! If you still have an old panel, the software may be incompatible with your panel version, so you do everything at your own risk.

Don't forget to pay for and update isp manager on time.

Прокомментируйте: