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
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to