Ben Walker posted to the list on 2003-09-04 regarding this error when using
uvscan within qmail-scanner.
I am having precisely the same problem with my installation. (I have the
latest stable debian dist - 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 i686
Pentium II (Deschutes) GenuineIntel GNU/Linux ).
Also, I can get qmailscanner to leave the files behind and scan manually
with no error as an unprivileged user. I have tried everything I can think
of including chmod u+s on uvscan with it owned by root. I have also tried
the --mime and --mailbox switches. Perl version is 5.6.1. I have no problems
with the spamassassin part of the scan - just with uvscan. Any help would be
much appreciated.
/usr/local/uvscan# uvscan --version
Virus Scan for Linux v4.24.0
Copyright (c) 1992-2003 Networks Associates Technology Inc. All rights
reserved.
(408) 988-3832  LICENSED COPY - Jan 27 2003
Scan engine v4.2.40 for Linux.
Virus data file v4304 created Nov 14 2003
Scanning for 82441 viruses, trojans and variants.
Regards
Peter
(Earlier post from the archive attached).
From: Ben Walker <[EMAIL PROTECTED]> 
 <<...OLE_Obj...>> qmail-scanner + uvscan 
2003-09-04 21:07 
 I am having a bit of trouble with uvscan running from qmail-scanner.
 In the debug log I get the error "file could not be opened." After looking
 over NAI site I added the switches --mime and --mailbox. Still the same
 error. I commented out the cleanup "rm -rf ..." line and ran uvscan as
 root and non-privileged users (qmailq and qscand) from the command line
 and it worked, no errors. So I had perlscanner block .pifs and that worked
 (after uvscan said the file could not be opened.) I installed clamav and
 rebuilt qmail-scanner-queue.pl. Clamav was first in the list to run. It
finds
 the virus and uvscan doesn't load (which makes sense.) So I changed the
 order that they run, uvscan runs first. Back to uvscan not being able
 to open the file.
 Has anyone seen this? or can anyone shed some light on this I would
appreciate 
 hearing from you.
 
 Thanks,
 Ben
 
 -----------------------
 The system is rh7.2, perl v5.6.1, qs 1.20rc3, uvscan v4.24.0
 
 and from the debug log...
 
 uvscan: starting scan of directory
"/var/spool/qmailscan/xxx.math.utk.edu106270
 934945623308"...
  run /usr/bin/uvscan  -v -r --secure --fam --unzip --macro-heuristics
--mime 
 --mailbox /var/spool/qmailscan/xxx.math.utk.edu106270934945623308    2>&1
 --output of uvscan was:
 
/var/spool/qmailscan/xxx.math.utk.edu106270934945623308/1062709349.23310-0.x
xx.
 math.utk.edu
         file could not be opened. 
 /var/spool/qmailscan/xxx.math.utk.edu106270934945623308/movie0045.pif
         file could not be opened. 
 Scanning /var/spool/qmailscan/xxx.math.utk.edu106270934945623308/*
 Scanning file
/var/spool/qmailscan/xxx.math.utk.edu106270934945623308/106270934
 9.23310-0.xxx.math.utk.edu
 Scanning file
/var/spool/qmailscan/xxx.math.utk.edu106270934945623308/movie0045
 .pif
 --
 uvscan: finished scan of dir
"/var/spool/qmailscan/xxx.math.utk.edu106270934945
 623308" in 0.543778 secs


This e-mail and any attachment is for authorised use by the intended recipient(s) 
only. It may contain proprietary material, confidential information and/or be subject 
to legal privilege. It should not be copied, disclosed to, retained or used by, any 
other party. If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender. Thank you.


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to