On Mon, 2004-10-18 at 03:09 +0200, Tomasz Kojm wrote:
> 
> Oh, no. It's working just fine:
> 
> [EMAIL PROTECTED]:/tmp$ clamscan partial-1.eml 
> LibClamAV Warning: Partial message received from MUA/MTA - message
> cannot be scanned
> LibClamAV Warning: Descriptor[3]: Bad format or broken data
> partial-1.eml: OK

Heh - you've forgotten my original e-mail. clamscan didn't show the
problem - clamdscan did.

They differ in their exit status. clamscan exits zero, but clamdscan
exits 2 on these messages.

This is a large issue for content-filters like Qmail-Scanner, where they
try to detect errors by the exit status. i.e. zero means OK, one means
virus, and anything else means "something went wrong".

clamdscan is saying "something went wrong" whereas clamscan says it's
all OK...

-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to