First, the vitals:
[r...@dungeon clamav]# uname -a
Linux dungeon.the-leveys.us 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:10:25
EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

[r...@dungeon clamav]# rpm -q clamav
clamav-0.95.1-2.el5.rf

[r...@dungeon clamav]# rpm -q clamav-milter
clamav-milter-0.95.1-2.el5.rf

[r...@dungeon clamav]# rpm -q sendmail
sendmail-8.13.8-2.el5


Immediately upon updating from 0.94.2 (?) the system started to
malfunction.  While I was able to make sure that things came up again
properly (editing the conf files for new options from the upgrade, socket
locations, and the like) I am still getting the following error in my
maillog:

Apr 22 16:13:13 dungeon sendmail[11077]: n3MKDDAP011077: Milter
(clmilter): error connecting to filter: Connection refused by
/var/run/clamav/clmilter.sock

Here is the directory listing for the socket directory:
[r...@dungeon clamav]# pwd
/var/run/clamav
[r...@dungeon clamav]# ls -la
total 32
drwxr-xr-x  2 clamav clamav 4096 Apr 22 16:14 .
drwxr-xr-x 29 root   root   4096 Apr 22 16:19 ..
-rw-rw----  1 clamav clamav    5 Apr 22 16:14 clamd.pid
srwxrwxrwx  1 clamav clamav    0 Apr 22 16:14 clamd.socket
srwxr-xr-x  1 clamav clamav    0 Apr 22 16:14 clmilter.sock

My sendmail.mc file shows the following:
INPUT_MAIL_FILTER(`clmilter', `S=local:/var/run/clamav/clmilter.sock, F=,
T=C:1m;S:4m;R:4m')dnl

which makes sense to me as we seem to be looking for the socket file in
the correct place, but are for some reason unable to open it.  I've seen
at least one suggestion elsewhere that permissions might have something to
do with the problem; please forgive my ignorance but how do I change the
permissions for socket file creation?

Thanks for your time and help,
 -Don


_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to