On Fri, 19 Mar 2004 18:25:25 -0500 (EST), Pat Masterson <[EMAIL PROTECTED]>
wrote:

>Stve, I had the same problem, and do this in my start script:
>rm /var/run/clamav/clmilter.sock
>chmod 777 /var/run/clamav/
>=> start milter here <=
>chmod 755 /var/run/clamav/
>=> start sendmail here <=
>
>And nobody complains. -pat

I finally got it to work:

ls -ld /var/run/clamav
drwxr-xr-x  2 clamav root 4096 Mar 19 16:31 /var/run/clamav

ls -l /var/run/clam*
total 4
srwx------  1 clamav clamav 0 Mar 19 16:11 clamav-milter.sock
-rw-rw----  1 clamav clamav 5 Mar 19 16:31 clamd.pid
srwxrwxrwx  1 clamav clamav 0 Mar 19 16:31 clamd.sock

Sendmail gets all barfy if the directory is group writable. The key was
changing the ownership of the directory from root to clamav.
--
   Steve
   


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to