You haven't used the --mbox option when running Does it work if you try "cat message.zip | clamscan --mbox -"
[ Aside - the cat command is a waste here, it would be better to do clamscan --mbox - < message.zip ] -Nigel > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > [EMAIL PROTECTED] > Sent: 24 June 2004 23:46 > To: [EMAIL PROTECTED] > Subject: [Clamav-users] clamscan via stdin > > > > Do you know why this happens? > Thanks. > > > [EMAIL PROTECTED] ~/downloads $ cat message.scr | clamscan - > stdin: Worm.SomeFool.P FOUND > > ----------- SCAN SUMMARY ----------- > Known viruses: 22079 > Scanned directories: 0 > Scanned files: 1 > Infected files: 1 > Data scanned: 0.03 MB > I/O buffer size: 131072 bytes > Time: 0.394 sec (0 m 0 s) > > [EMAIL PROTECTED] ~/downloads $ zip message.zip message.scr > adding: message.scr (deflated 4%) > [EMAIL PROTECTED] ~/downloads $ cat message.zip | clamscan - > stdin: OK > > ----------- SCAN SUMMARY ----------- > Known viruses: 22079 > Scanned directories: 0 > Scanned files: 1 > Infected files: 0 > Data scanned: 0.02 MB > I/O buffer size: 131072 bytes > Time: 0.348 sec (0 m 0 s) > > [EMAIL PROTECTED] ~/downloads $ clamscan message.zip > message.zip: Worm.SomeFool.P FOUND > > ----------- SCAN SUMMARY ----------- > Known viruses: 22079 > Scanned directories: 0 > Scanned files: 1 > Infected files: 1 > Data scanned: 0.03 MB > I/O buffer size: 131072 bytes > Time: 0.352 sec (0 m 0 s) > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Clamav-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/clamav-users > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users