[clamav-users] Question regarding freshclam log entry
J Doe
general at nativemethods.com
Wed Feb 21 03:33:43 UTC 2018
Hello,
I recently installed ClamAV 0.99.3 on a Ubuntu 16.04.03 LTS server and utilize it as a milter for Postfix v. 3.1.0.
When freshclam runs according to its’ cron job and successfully downloads an update, it leaves the following note in the freshclam log:
WARNING: clamd was NOT notified: Can’t connect to clamd through /var/spool/postfix/var/run/clamav/clamd.sock
My initial thought was a simple permissions error, so I checked the permissions to the clamd.sock socket:
drwxr-xr-x clamav clamav /var/spool/postfix/var/run/clamav
srw-rw-rw clamav clamav /var/spool/postfix/var/run/clamd.sock
$ sudo -u clamav namei -m /var/spool/postfix/var/run/clamav/clamd.sock
...which successfully accesses the socket.
Some Googling showed some results but mostly related to older versions of clamd (a couple of years back).
I’m pretty sure this is a minor mistake on my part; can anyone suggest a solution ?
Thanks,
- J
More information about the clamav-users
mailing list