Gary,

I'm not sure I understand your point.

What you define in Virus.cfg, e.g.:

  SCANFILE    C:\Progra~1\Common~1\Networ~1\Engine\SCAN.EXE /LOAD
D:\IMAIL\Declude\SCAN.CFG

is only the START of the command line, to which Declude appends the full
path for the file it tries to scan.

So, if you defined:

  SCANFILE      C:\clamav-devel\bin\clamdscan.exe --quiet -l report.txt

and the Declude is processing the file c:\temp\123456789.eml then it would
issue the command

  c:\clamav-devel\bin\clamdscan.exe --quiet -l report.txt
c:\temp\123456789.eml


I recommend you turn on the debug mode for Declude virus and then inspect
the relevant lines of the log (or send them to the list so that we can take
a look at it). Obviously, you'd also need to share your virus.cfg
configuration so that we understand the context.

Best Regards,
Andy

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary
Steiner
Sent: Wednesday, April 25, 2007 6:39 PM
To: [email protected]
Subject: [Declude.Virus] ClamAV lstat() failed. ERROR

In pursuing the problem of the new worm with a password-protected RAR file,
I found a problem with ClamAV.

I'm running the SOSDG ClamAV Windows port version 0.90.2-2 (along with
runclamd and runclamscan).

Declude uses the following string:
C:\clamav-devel\bin\clamdscan.exe --quiet -l report.txt

If I try to use it at a command prompt, I get the lstat() failed error. If I
type in the full path for my command string, such as 
C:\clamav-devel\bin\clamdscan.exe --quiet -l C:\temp\report.txt
C:\temp\123456789.eml

it works. The problem is that Declude scans a file in a different directory
each time, so the path changes. So for Declude to work now, it would require
a significant change in Declude.

But ClamAV worked before. What changed? Can it be changed back? Is this a
problem with ClamAV in general, or just with the SOSDG Windows port? Do the
other ClamAV ports have this problem?

Any suggestions you might have are greatly appreciated.

Gary Steiner









---
This E-mail came from the Declude.Virus mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.Virus".    The archives can be found
at http://www.mail-archive.com.




---
This E-mail came from the Declude.Virus mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.Virus".    The archives can be found
at http://www.mail-archive.com.

Reply via email to