It seems that ClamAV fails to scan inside plain mail files when the
option --mbox is used.

I believe this feature was included in earlier versions of ClamAV.

[EMAIL PROTECTED] virus]# clamscan --debug --mbox ./virus.eml
LibClamAV debug: Loading databases from /usr/local/share/clamav
LibClamAV debug: Loading /usr/local/share/clamav/viruses.db
LibClamAV debug: Initializing trie.
LibClamAV debug: Loading /usr/local/share/clamav/viruses.db2
LibClamAV debug: Recognized raw mail file.
LibClamAV debug: Starting scanmail()
LibClamAV debug: in mbox()
clamscan: mbox.c:250: cl_mbox: Assertion `!first' failed.
Aborted

[EMAIL PROTECTED] virus]# clamscan --version
clamscan / ClamAV version 20030806

--- 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]>
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
X-Mailer: Sylpheed version  0.8.9
Subject: Batabo, Family sex alboum collection
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------EE1672F1842553B"
X-SoftScan-Message-ID: <[EMAIL PROTECTED]>
--- end, sample from virus.eml ---

Best regards,
Diego d'Ambra


-------------------------------------------------------
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

Reply via email to