Re: [Clamav-users] Pb to scan stdin with clamdscan

2003-11-14 Thread Laurent Wacrenier
Le Jeu 13 nov 17:21:31 2003, Cedric Foll écrit: > oban:~# clamdscan - < tmp/mail/tmp > stream: OK Check the StreamSaveToDisk clamav.conf option (should be enabled, which is not the case by default) --- This SF.Net email sponsored by: ApacheC

RE: [Clamav-users] Pb to scan stdin with clamdscan

2003-11-14 Thread Tom Walsh
::No it can read stdin when you give a '-' on command line. ::cf line 120 of clamdscan/client.c of v0.65. :: ::if(!strcmp(opt->filename, "-")) { /* scan data from stdin */ ::(...) :: ::So it should be a bug. ::I've tried to solve the pb but I failed to find the bug. Cedric, I stand corrected.

Re: [Clamav-users] Pb to scan stdin with clamdscan

2003-11-14 Thread Laurent Wacrenier
Le Jeu 13 nov 17:21:31 2003, Cedric Foll écrit: > I'm trying to scan a file given on stdin with clamdscan but it doesn't > work. You can probably not. I've written a client who get data from standart input and send it to clamd server across the network. I use it with procmail on my mail without

RE: [Clamav-users] Pb to scan stdin with clamdscan

2003-11-14 Thread Cedric Foll
Le jeu 13/11/2003 à 17:58, Tom Walsh a écrit : > ::I'm trying to scan a file given on stdin with clamdscan but it doesn't > ::work. > :: > ::I'm using clamav v0.6, the file is a mbox, with clamscan it works fine. > > > That is not the way clamdscan works. clamdscan's only purpose is to pass a > l

RE: [Clamav-users] Pb to scan stdin with clamdscan

2003-11-13 Thread Tom Walsh
::I'm trying to scan a file given on stdin with clamdscan but it doesn't ::work. :: ::I'm using clamav v0.6, the file is a mbox, with clamscan it works fine. That is not the way clamdscan works. clamdscan's only purpose is to pass a location to scan (on the file system) to the clamd daemon. Tom