On Tue, 12 Aug 2003 at 13:32:44 +0200, Diego d'Ambra wrote: > It seems that ClamAV fails to scan inside plain mail files when the > option --mbox is used.
That's right. I noticed that yesterday. > I believe this feature was included in earlier versions of ClamAV. That error was introduced only in the latest version (20030806). > [EMAIL PROTECTED] virus]# clamscan --debug --mbox ./virus.eml [...] > LibClamAV debug: Starting scanmail() > LibClamAV debug: in mbox() > clamscan: mbox.c:250: cl_mbox: Assertion `!first' failed. > Aborted > > --- start, sample from virus.eml --- > Received: from unknown (HELO suki322) (68.57.93.247) > by xxxx.xxxx.dk with SMTP; 3 Jun 2003 22:54:09 -0000 > To: Batabo <[EMAIL PROTECTED]> Fortunately, this is only when "raw" messages are scanned (i.e. messages before being added to Mailbox file or inserted into Maildir directory) (beginning with "Received: from ..." and not with "From " nor with "Return-Path: <..." I'm attaching the patch for libclamav/scanners.c. But Tomasz Kojm already knows the problem so he'll fix it in the near future, I'm sure. Also, new Debian package by Magnus Ekdahl is uploaded (0.60-6). -- Tomasz Papszun SysAdm @ TP S.A. Lodz, Poland | And it's only [EMAIL PROTECTED] http://www.lodz.tpsa.pl/ | ones and zeros. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users