Those files shouldn't be owned by root. What user is q-s running as?

-----Original Message-----
From: Enrico valsecchi [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 07, 2004 4:21 AM
To: [EMAIL PROTECTED]
Subject: [Qmail-scanner-general]Qmail-Scanner 1.22 and ClavAv 0.70


Hi, sorry for my english!
I have a serious problem with virus detection with qmail scanner
Hi have install clamav 0.70 and qmail-scanner 1.22.
Qmail run under daemontools, + vpopmail + courier ....

Into log of qmail.-scanner I retry this error:
Thu, 06 May 2004 21:10:12 CEST:9760: run /usr/bin/clamscan -r -m --unzip 
--unrar --unzoo --lha --disable-summary --max-recursion=10 
--max-space=100000  
/var/spool/qmailscan/tmp/godzilla.mizasol10838706114799760 2>&1
Thu, 06 May 2004 21:10:13 CEST:9760: --output of clamscan was:
/var/spool/qmailscan/tmp/godzilla.mizasol10838706114799760/1083870612.9762-0
.godzilla.mizasol: 
Access denied.
ERROR: Can't open file 
/var/spool/qmailscan/tmp/godzilla.mizasol10838706114799760/Details.zip
/var/spool/qmailscan/tmp/godzilla.mizasol10838706114799760/Details.zip: 
Access denied to archive.

My configuration option on qmail-scanner build are:
./configure --admin virusadmin --domain mizasol.com --scanners 
clamscan,verbose_spamassassin --debug yes --lang it_IT --install

O.K., I have think change "CLAMSCAN" whit "CLAMDSCAN", and resolve this 
error.
Surprise. When I send a mail, I retry "QQ temporary problem".
Into qmail-scanner log I retry this error:
Fri, 07 May 2004 12:14:37 CEST:7823: run /usr/bin/clamdscan -r 
--disable-summary --max-recursion=10 --max-space=100000  
/var/spool/qmailscan/tmp/godzilla.mizasol10839248724797823 2>&1
Fri, 07 May 2004 12:14:37 CEST:7823: --output of clamdscan was:
/var/spool/qmailscan/tmp/godzilla.mizasol10839248724797823/1083924877.7836-0
.godzilla.mizasol: 
Unable to open file or directory. ERROR
/var/spool/qmailscan/tmp/godzilla.mizasol10839248724797823/message.scr: 
Unable to open file or directory. ERROR
/var/spool/qmailscan/tmp/godzilla.mizasol10839248724797823: OK
Fri, 07 May 2004 12:14:37 CEST:7823: error_condition: 
X-Qmail-Scanner-1.22: clamdscan: corrupt or unknown clamd scanner error 
or memory/resource/perms problem - exit status 2

Well, I have clamdscan run under qscand.qscand, and it work fine. This 
is output of ps aux
qscand   17242  0.0  2.4 13940 12676 ?       S    22:44   0:00 clamd -c 
/etc/clamd.conf
qscand   17510  0.0  2.4 13940 12676 ?       S    22:45   0:00 clamd -c 
/etc/clamd.conf

O.k., why antivirus scanner don't work?
 I have read a file permission during qmail-scanner work into 
/var/spool/qmailscan/tmp/.
There are a permission setting:
drwx------    2 qscand   vchkpw       4096 mag  6 23:30 ./
drwx------    3 qscand   qscand       4096 mag  6 23:30 ../
-rw-------    1 root     qmail         340 mag  6 23:30 
1083879042.21750-0.godzilla.mizasol
-rw-------    1 root     qmail       22016 mag  6 23:30 nomoney.com

Are O.K. a file owner/group in /var/spool/qmailscan/tmp/?
People have a solutions of this problem?

Many thanks!

Bye,

Enrico Valsecchi






-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to