> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Scott Moseman > Sent: 08 September 2006 04:32 > To: clamav-users@lists.clamav.net > Subject: [Clamav-users] clamav-milter will not create socket file > > > I have searched all over, but I cannot find the solution... > > Here's the configuration files: > > # cat /etc/mail/sendmail.cf | grep clmilter > O InputMailFilters=clmilter > Xclmilter, S=local:/var/run/clamav/clmilter.sock, T=S:4m;R:4m > > # cat /etc/sysconfig/clamav-milter | grep clmilter > -o local:/var/run/clamav/clmilter.sock > > The daemon tells me that it started ok: > > # /etc/init.d/clamav-milter start > Starting Clamav Milter Daemon: [ OK ] > > Here's the errors that I'm seeing in Sendmail: > > # cat /var/log/maillog | grep clmilter | tail -2 > Milter (clmilter): local socket name /var/run/clamav/clmilter.sock unsafe > Milter (clmilter): to error state
You need to look at more than just that, I'd do tail -33 /var/log/maillog that way you see lines above and below. You're filtering to only see output from sendmail, if you look at any messages there from clamav-milter as well they may give you more of a clue. > > Here's the permission tree for the socket file: > > # ls -l / | grep var > drwxr-xr-x 25 root root 4096 Sep 7 21:05 var > # ls -l /var | grep run > drwxr-xr-x 18 root root 4096 Sep 7 21:45 run > # ls -l /var/run | grep clamav > drwxr-xr-x 2 clamav clamav 4096 Sep 7 22:22 clamav > # ls -l /var/run/clamav/ > total 12 > -rw-rw---- 1 clamav clamav 5 Sep 7 21:17 clamd.pid > srwxrwxrwx 1 clamav clamav 0 Sep 7 21:17 clamd.sock > > You notice that there's no socket file created though. > Does anything appear obvious that I'm missing or that > I need to configure differently? I don't know why it may > not be creating the socket file under /var/run/clamav. Operating system? Version of clamAV? Version of clamav-milter? What is the output of ls -ld /? > > Thanks, > Scott -Nigel _______________________________________________ http://lurker.clamav.net/list/clamav-users.html