On Tue, 2005-01-18 at 22:05, Joe Polk wrote:
> Directory perms match. Here's the other:
> -rw-rw----    1 clamav   clamav          4 Jan 18 11:05 clamd.pid
> srwxrwxrwx    1 clamav   clamav          0 Jan 18 11:05 clamd.sock

I wouldn't have a publicly writable clamd.sock if I were you.

> srwx------    1 clamav   clamav          0 Jan 18 15:09 clmilter.socket
> 
> Should I be running freshclam as a daemon? There appear to be cron jobs 
> enabled.
> 
> --
> <<JAV>>
> 
> 
> ---------- Original Message -----------
> From: <[EMAIL PROTECTED]>
> To: "'ClamAV users ML'" <[email protected]>
> Sent: Tue, 18 Jan 2005 13:54:14 -0800
> Subject: RE: [Clamav-users] clamav-milter verification
> 
> > Hello,
> > 
> > Don't know if I could help, but I think I recall this error from the
> > permissions on the directory the file is in, or the permissions on 
> > the file itself. I had this months ago when I was first setting up too.
> > 
> > Directory Permission:
> > drwxr-xr-x    2 clamav   clamav       4096 Dec  7 12:26 clamav
> > 
> > File Permissions:
> > -rw-rw----    1 clamav   clamav          4 Nov 20 14:05 clamd.pid
> > srwxrwxrwx    1 clamav   clamav          0 Nov 20 14:05 clamd.sock
> > srwx------    1 clamav   clamav          0 Dec  7 12:26 clmilter.sock
> > -rw-rw----    1 clamav   clamav          4 Nov 20 14:05 freshclam.pid
> > 
> > Shawn
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Joe Polk
> > Sent: Tuesday, January 18, 2005 1:37 PM
> > To: ClamAV users ML
> > Subject: Re: [Clamav-users] clamav-milter verification
> > 
> > [EMAIL PROTECTED] clamav]# ls -ld /var/run/clamav/
> > drwxr-xr-x    2 clamav   clamav       4096 Jan 18 15:09 /var/run/clamav/
> > 
> > I got another one of those errors at 16:33. I think I get these when
> > clamav-milter is invoked. I sent myself 2 testviruses and I think 
> > that triggered the last one maybe.
> > 
> > --
> > <<JAV>>
> > 
> > ---------- Original Message -----------
> > From: Nigel Horne <[EMAIL PROTECTED]>
> > To: ClamAV users ML <[email protected]>
> > Sent: Tue, 18 Jan 2005 21:35:10 +0000
> > Subject: Re: [Clamav-users] clamav-milter verification
> > 
> > > On Tue, 2005-01-18 at 21:32, Joe Polk wrote:
> > > > After. I see a ton of them in there but they stop mysteriously at 
> > > > 16:22:44.
> > > 
> > > What happened at 16:22?
> > > What is the output of "ls -ld /var/run/clamav"?
> > > 
> > > > 
> > > > 
> > > > --
> > > > <<JAV>>
> > > > 
> > > > 
> > > > ---------- Original Message -----------
> > > > From: Nigel Horne <[EMAIL PROTECTED]>
> > > > To: ClamAV users ML <[email protected]>
> > > > Sent: Tue, 18 Jan 2005 20:51:59 +0000
> > > > Subject: Re: [Clamav-users] clamav-milter verification
> > > > 
> > > > > On Tue, 2005-01-18 at 20:41, Joe Polk wrote:
> > > > > > I'm seeing this in the maillog:
> > > > > > Jan 18 15:12:10 mail sendmail[6612]: j0IKCADB006612: Milter
> > (clmilter): local
> > > > > > socket name /var/run/clamav/clmilter.sock unsafe
> > > > > > Jan 18 15:12:10 mail sendmail[6612]: j0IKCADB006612: Milter
> > (clmilter): to
> > > > > > error state
> > > > > 
> > > > > What is this output of "ls -ld /var/run/clamav"?
> > > > > Is this before or after you ensured that you've ensured that
> > > > > sendmail.mc and /etc/sysconfig/clamav-milter point to the same socket?
> > > > > 
> > > > > > 
> > > > > > 
> > > > > > --
> > > > > > <<JAV>>
> > > > > > 
> > > > > > 
> > > > > > ---------- Original Message -----------
> > > > > > From: Nigel Horne <[EMAIL PROTECTED]>
> > > > > > To: ClamAV users ML <[email protected]>
> > > > > > Sent: Tue, 18 Jan 2005 19:49:02 +0000
> > > > > > Subject: Re: [Clamav-users] clamav-milter verification
> > > > > > 
> > > > > > > On Tue, 2005-01-18 at 19:35, Joe Polk wrote:
> > > > > > > > Thanks, Nigel. Here's the info!
> > > > > > > > 
> > > > > > > > > What version of clamav-milter? (clamav-milter --version)
> > > > > > > >     ClamAV version 0.80, clamav-milter version 0.80j
> > > > > > > > 
> > > > > > > > > Have you started clamav-milter? (ps -ef | fgrep clam)
> > > > > > > >   clamav    4972     1  0 11:05 ?        00:00:00 clamd
> > > > > > > >   clamav    4997     1  0 11:05 ?        00:00:00 clamav-milter
> > 
> > > > > > > > --config-file=/etc/clamd.conf --max-children=10 --force-scan
> > --quiet
> > > > > > > > --dont-log-clean --noreject -obl
> > local:/var/run/clamav/clmilter.socket
> > > > > > > 
> > > > > > > 1) Please don't use the -b option
> > > > > > > 2) This local:/var/run/clamav/clmilter.socket doesn't match this
> > > > > > > from your sendmail.mc: S=local:/var/run/clmilter.sock. They need
> > to 
> > > > > > > be the same.
> > > > > > > 
> > > > > > > > 
> > > > > > > > > What's in the syslog?
> > > > > > > >   Most of what I see are directory scans. I tried a manual scan
> > with
> > > > clamdscan
> > > > > > > > on my /var/spool/mail folder and it said it couldn't scan some
> > of the
> > > > files. I
> > > > > > > > put user clamav into the "mail" group hoping this would work,
> > but it
> > > > didn't
> > > > > > > > appear to. I can't find anything in the logs indicating the
> > milter is
> > > > running,
> > > > > > > > though.
> > > > > > > > 
> > > > > > > > > What's in your sendmail.mc?
> > > > > > > >   I added:
> > > > > > > >   INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock,
> > F=,
> > > > > > T=S:4m;R:4m')d
> > > > > > > > nl
> > > > > > > > define(`confINPUT_MAIL_FILTERS', `clmilter')
> > > > > > > 
> > > > > > > > <<JAV>>
> > > > > > > 
> > > > > > > _______________________________________________
> > > > > > > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> > > > > > ------- End of Original Message -------
> > > > > > 
> > > > > > _______________________________________________
> > > > > > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> > > > > 
> > > > > _______________________________________________
> > > > > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> > > > ------- End of Original Message -------
> > > > 
> > > > _______________________________________________
> > > > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> > > 
> > > _______________________________________________
> > > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> > ------- End of Original Message -------
> > 
> > _______________________________________________
> > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> > 
> > _______________________________________________
> > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> ------- End of Original Message -------
> 
> _______________________________________________
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to