Great !!!! It will be very usefull for me. I believe that it will be a good idea to add this to the libclamav documentation.
Another question: which are the return codes of the cl_mbox() function ? Greetings. El Lunes, 16 de Junio de 2003 20:52, Tomasz Kojm escribió: > > I know that there is a mbox option for this function that allows the > > attachment scan but I haven't found any info a bout it in the manual. > > How must I do for use this option ? > > cl_scandesc(....., CL_ARCHIVE | CL_MAIL) > > > Another iusse is that if the scaned email has more than one virus in its > > attachments, the sl_scandes function will give me only the name of one of > > the virus found. Moreover, I will not be able to know which attachments > > are inffected and which not, and which infected attachment has which > > virus. I would be able to know wihch attachments are infected and by > > which virus. Is there any solution to this ? > > fd = open("mail", RD_ONLY); > cl_mbox("/tmp/extracted", fd); > > and scan all files in /tmp/extracted > > Best regards, > Tomasz Kojm --- Carles Xavier Munyoz Baldó [EMAIL PROTECTED] http://www.unlimitedmail.net/ --- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]