Here's the weird sequence of events that worked for me.
chmod 775 /var/run /etc/init.d/clamav-milter restart chmod 755 /var/run /etc/init.d/clamav-milter restart Seems like I needed an initial 775 on /var/run to get the socket file created the first time. Afterwards, I need for the directory to be changed back to 755 so sendmail is kept happy. I'm assuming I've got something wrong and coincidentally found a way to get it working. What was the right way? Thanks, Scott On 9/7/06, Scott Moseman <[EMAIL PROTECTED]> wrote:
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 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. Thanks, Scott
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html