Have a look at the magic array

cli_magic_s cli_magic

at the top of libclamav/scanners.c

Or look at my patch which adds the option --mbox-force

http://www.jmaimon.com/clamav

Glen Eustace wrote:

Well, I have gotten further now, my problem seems to be that the
scandesc function doesn't recognise my temporary file as a mail message.

My filter places the SMTP commands in the file as well, these seem to
prevent the scanner from working properly. Is there anyway I can trick
the scanner, or is it time to hack code ? Either mine or ClamAV




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to