Re: [Clamav-users] Error with clamav-milter
On Thursday 04 Mar 2004 5:19 pm, James Barber wrote: I've verified, and the clmilter.sock file is indeed in the /var/clamav/clmilter.sock directory (srwxr-xr-x1 root root 0 Mar 3 16:51 clmilter.sock). Do you have a User statement in clamav.conf which is lower than root? If so you need to ensure that user has permission to create/remove files in /var/clamav, (ls -ld /var/clamav to check). -Nigel -- Nigel Horne. Arranger, Composer, Typesetter. NJH Music, Barnsley, UK. ICQ#20252325 [EMAIL PROTECTED] http://www.bandsman.co.uk --- 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_id=1470alloc_id=3638op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] Error with clamav-milter
Hi there, I'm trying to get the clamav-milter to work with sendmail. I've made all the required changes to the sendmail.cf file, but when I try to restart sendmail, I get the error: sendmail: WARNING: Xclmilter'': local socket name /var/clamav/clmilter.sock' missing. I've verified, and the clmilter.sock file is indeed in the /var/clamav/clmilter.sock directory (srwxr-xr-x1 root root 0 Mar 3 16:51 clmilter.sock). Here is some info about the system: Redhat 8.0 Kernel 2.4.18 Sendmail 8.12.5-7 (though when connecting via telnet, the version is 8.12.8/8.12.5) ClamAV version 0.67-1 I've compiled ClamAV with the --enable-milter option, and it works fine. clamd starts up fine as well, and all tests seem to go through. One thing I noticed is that when I execute /usr/sbin/clamav-milter -blo /var/clamav/clmilter.sock, I get a warning: /usr/sbin/clamav-milter: running as root is not recommended. However, I can see via ps that it is running. Is there something I missed? Any help is appreciated. Thanks, James Barber [EMAIL PROTECTED] give the clamav user the ownership; chown clamav:clamav /var/clamav/clmilter.sock --- 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_id=1470alloc_id=3638op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] Error with clamav-milter
On Thu, 4 Mar 2004 12:19:16 -0500 James Barber [EMAIL PROTECTED] wrote: Hi there, I'm trying to get the clamav-milter to work with sendmail. I've made all the required changes to the sendmail.cf file, but when I try to restart sendmail, I get the error: sendmail: WARNING: Xclmilter'': local socket name /var/clamav/clmilter.sock' missing. I've verified, and the clmilter.sock file is indeed in the /var/clamav/clmilter.sock directory (srwxr-xr-x1 root root 0 Mar 3 16:51 clmilter.sock). Did you intend to say 'and the clmilter.sock file is indeed in the /var/clamav directory? If so, the only time that I have run into this when the uid for the clamav-milter process did not have authority to create the socket. Alex --- 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_id=1470alloc_id=3638op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] Error with clamav-milter
James Barber wrote: Hi there, I'm trying to get the clamav-milter to work with sendmail. I've made all the required changes to the sendmail.cf file, but when I try to restart sendmail, I get the error: sendmail: WARNING: Xclmilter'': local socket name /var/clamav/clmilter.sock' missing. I've verified, and the clmilter.sock file is indeed in the /var/clamav/clmilter.sock directory (srwxr-xr-x1 root root0 Mar 3 16:51 clmilter.sock). Here is some info about the system: Redhat 8.0 Kernel 2.4.18 Sendmail 8.12.5-7 (though when connecting via telnet, the version is 8.12.8/8.12.5) ClamAV version 0.67-1 I've compiled ClamAV with the --enable-milter option, and it works fine. clamd starts up fine as well, and all tests seem to go through. One thing I noticed is that when I execute /usr/sbin/clamav-milter -blo /var/clamav/clmilter.sock, I get a warning: /usr/sbin/clamav-milter: running as root is not recommended. However, I can see via ps that it is running. Is there something I missed? Any help is appreciated. Thanks, James Barber [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] doesn't sendmail need WRITE access to that socket? unless you're running sendmail as root (not a prime idea), it won't have write access to that object. --- 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_id=1470alloc_id=3638op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] Error with clamav-milter
I don't think it needs write access to the socket file itself, but it does need read+exec privs to the directory containing the socket at least afaik. Ryan Moore -- Perigee.net Corporation 704-849-8355 (sales) 704-849-8017 (tech) www.perigee.net John Jolet wrote: James Barber wrote: Hi there, I'm trying to get the clamav-milter to work with sendmail. I've made all the required changes to the sendmail.cf file, but when I try to restart sendmail, I get the error: sendmail: WARNING: Xclmilter'': local socket name /var/clamav/clmilter.sock' missing. I've verified, and the clmilter.sock file is indeed in the /var/clamav/clmilter.sock directory (srwxr-xr-x1 root root0 Mar 3 16:51 clmilter.sock). Here is some info about the system: Redhat 8.0 Kernel 2.4.18 Sendmail 8.12.5-7 (though when connecting via telnet, the version is 8.12.8/8.12.5) ClamAV version 0.67-1 I've compiled ClamAV with the --enable-milter option, and it works fine. clamd starts up fine as well, and all tests seem to go through. One thing I noticed is that when I execute /usr/sbin/clamav-milter -blo /var/clamav/clmilter.sock, I get a warning: /usr/sbin/clamav-milter: running as root is not recommended. However, I can see via ps that it is running. Is there something I missed? Any help is appreciated. Thanks, James Barber [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] doesn't sendmail need WRITE access to that socket? unless you're running sendmail as root (not a prime idea), it won't have write access to that object. --- 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_id=1470alloc_id=3638op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users --- 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_id=1470alloc_id=3638op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users