On Thursday 02 October 2003 16:08, Nigel Horne wrote: > On Thursday 02 Oct 2003 4:21 am, Daniel Andersen wrote: > > I'm working on setting up virus filtering on my mail server, but seem to > > be running into a strange problem. If i check files manually using > > clamscan or clamdscan, e.g., clamscan <filename>, it picks up viruses in > > the files OK. However, if i run it through like cat <filename>|clamscan > > -, it fails to detect the virus. I would much rather pipe the data > > through clamscan rather than create temporary files all over the place, > > and was wondering if i'm doing something wrong somewhere? Am i missing an > > argument? I tried running it with --mbox but it doesn't seem to make any > > difference. > > What version of clamAV are you using, and what operating > system/distribution? I ask because it's quite likely that your bug has been > fixed, some work has been undertaken in this area recently.
Actually i sorted out the problem a couple of minutes after i send the email, but didn't think to post to the list again :) All i had to do was set StreamSaveToDisk in clamav.conf and it fixed all my problems. Daniel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users