Yes de first step of debugging in ok . 
When i upgrade clamav i uninstall de old version and the config files. 
The  socket have the right perms.
Is a good idea chage the option in sendmail so i did it.
The problem is weird, because the milter fail some times not all time. I watch 
the log for other problems when clamav-milter fail but i no see nothing.
In system messages apear this when clamav-milter fail: 


May 19 04:29:18 smtp clamav-milter[32150]: ClamAv: thread_create() failed: 12, 
abort
May 19 04:29:34 smtp clamav-milter[32150]: Stopping ClamAV version 0.85.1, 
clamav-milter version 0.85
May 19 04:30:00 smtp clamav-milter: clamav-milter shutdown failed


the first line apear 14 times.


Thanks
Jose I. Callero.



On Thursday 19 May 2005 04:58 pm, Dennis Peterson wrote:
> [EMAIL PROTECTED] said:
> > Hi all:
> >
> >     I start having  troubles since i upgrade   clamav to version 0.85.1-1.0.
> > Since this clamav-milter log this in maillog but keep running:
> >
> >     Milter (clamav): read returned -1: Connection reset by [xxx.xxx.xxx.xxx]
> >     Milter (clamav): to error state
> >     Milter (clamav): init failed to open
> >     Milter (clamav): to error state
> >
> > After logs a lot of that log this and stop running:
> >
> >     Milter (clamav): to error state
> >     Milter (clamav): error connecting to filter: No such file or directory
>
> Do some debugging: Does that socket exist? Does your clamav config file
> agree with your sendmail.cf file about that location? Are ownerships and
> permissions correct?
>
> Since you have upgraded, did you properly uninstall the previous version?
> If not you may have multiple or fragmented installations that are
> confusing you and or your executables. It happens a lot. Depending on what
> version you upgraded from, for example, you may not be aware the current
> version of clamd config file has a new name (clamd.conf - was
> clamav.conf). There may be other significant changes to parameters you
> should know about.
>
> > I using clamav-milter whit sendmail version  8.12.8-9.90 and my milter
> > config.
> > line is this:
> >
> >     Xclamav, S=local:/var/clamav/clmilter.socket, F=R, T=S:10m;R:10m;E:10m
>
> With F=R as you have here any such failures will result in a mail
> rejection. You might consider using F=T so that the sending system can try
> again when your system is running correctly.
>
> > Someone know this error?
> >
> > I see lot of milters for clamav, some of them is better than
> > clamav-milter?
>
> Examine your requirements and compare them to milter features. Perhaps
> there is one out there that better suits your needs. I use J-Chkmail.
>
>
>
> _______________________________________________
> http://lurker.clamav.net/list/clamav-users.html
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to