for some reason I am getting clamav errors in my postfix log files complaining that it can't access it's socket file. I've tried opening the permissions all the way and the problem persists. I'm curious as to what effect this will have if uncorrected and how best to fix the problem
## clam av errors in the postfix logs Dec 5 10:51:56 li135-81 amavis[11829]: (11829-03) (!)ClamAV-clamd: Can't connect to UNIX socket /tmp/clamd.socket: Connection refused, retrying (2) Dec 5 10:52:02 li135-81 amavis[11829]: (11829-03) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't connect to UNIX socket /tmp/clamd.socket: Connection refused) at (eval 93) line 375.\n Dec 5 10:52:03 li135-81 amavis[11829]: (11829-03) (!)ClamAV-clamd: Can't connect to UNIX socket /tmp/clamd.socket: Connection refused, retrying (2) Dec 5 10:52:09 li135-81 amavis[11829]: (11829-03) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't connect to UNIX socket /tmp/clamd.socket: Connection refused) at (eval 93) line 375.\n Dec 5 10:52:09 li135-81 amavis[11829]: (11829-03) (!!)WARN: all primary virus scanners failed, considering backups ## I've (temporarily) opened up the permissions on the socket file all the way in hopes of alleviating this situation [root@mail conf.d]# ls -l /tmp/clamd.socket -rwxrwxrwx 1 clamav clamav 0 Dec 3 18:47 /tmp/clamd.socket ## in /etc/amavis.conf # ### http://www.clamav.net/ ### http://www.clamav.net/ ['ClamAV-clamd', \&ask_daemon, ["CONTSCAN {}\n", "/tmp/clamd.socket"], qr/\bOK$/, qr/\bFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ], _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml