Thanks for your answer. For information, I already had read the link you proposed and my system didn't have any other sendmail version. As the clamav package proposed by debian in the stable version didn't work on my system (100% cpu and hangs), I got the clamav package from the volatile source. And It works !
thanks again. Bruno Le 16 déc. 08 à 09:49, Török Edwin a écrit : > On 2008-12-15 15:40, Bruno Richard wrote: >> Hi All, >> >> I unsuccessfully tried to use clamav 0.942 on a intel server with a >> debian system (2.6.18) >> whereas I had no problem on many others servers before. >> >> I previously compilled sendmail 8.14.3 and its libmilter directory >> (./ >> Build and ./Build install) >> without any error message. >> >> clamav is built without problem (with --enable-milter and --enable- >> debug options). >> It detects the sendmail : >> >> chico:/export/info/src/clamav-0.94.2# more clamav-config.h|grep SEND >> #define HAVE_SENDMSG 1 >> #define SENDMAIL_BIN "/usr/sbin/sendmail" >> #define SENDMAIL_VERSION_A 8 >> #define SENDMAIL_VERSION_B 14 >> #define SENDMAIL_VERSION_C 3 >> >> freesclam works well and gets the files but clamav-milter don't >> work : >> >> chico:/usr/local/clamav# ./sbin/clamav-milter /var/run/clamav/clamav- >> milter.ctl >> Running as user clamav (UID 50821, GID 50821) >> Loaded ClamAV 0.94.2/8760/Mon Dec 15 10:46:28 2008 >> ClamAV: Protecting against 472667 viruses >> smfi_register failure, ensure that you have linked against the >> correct >> version of sendmail >> Stopping ClamAV version 0.94.2, clamav-milter version 0.94.2 >> LibClamAV debug: watchdog quits >> LibClamAV debug: Cleaning up phishcheck >> LibClamAV debug: Phishcheck cleaned up >> chico:/usr/local/clamav# >> >> I looked at "smfi_register failure" clamav problem but >> didn't find suitable answers... >> >> Any idea ? >> > > See discussion here, make sure you removed any trail of the older > version of sendmail, if you've built it from source: > > https://wwws.clamav.net/bugzilla/show_bug.cgi?id=486#c7 > > You can also try the SVN version, and see if that works better. > > Best regards, > --Edwin > _______________________________________________ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://www.clamav.net/support/ml > _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
