Wait a min. I was wrong about the qscand. But look at this.

This is from your email:
Into log I retry this:
 --output of clamscan was:
/var/spool/qmailscan/tmp/godzilla.mizasol108397543447930637/1083975436.30642
-0.godzilla.mizasol: 
Access denied.
ERROR: Can't open file 
/var/spool/qmailscan/tmp/godzilla.mizasol108397543447930637/mails.zip
/var/spool/qmailscan/tmp/godzilla.mizasol108397543447930637/mails.zip: 
Access denied to archive.


Now look at where q-s is sending clamdscan
/var/spool/qmailscan/working/new/godzilla.mizasol108402647247
Is there something weird in your clamd.conf?
Looks like clamdscan can't find the right directory

-----Original Message-----
From: Enrico valsecchi [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 08, 2004 9:52 AM
To: [EMAIL PROTECTED]
Subject: Re: [Qmail-scanner-general]Qmail-Scanner 1.22 and ClavAv 0.70


Jason Staudenmayer ha scritto:

>No run the last test of the install
>
>Login as somebody other than root.
>And run /var/qmail/bin/qmail-scanner.pl -g
>If this fails (I bet it will) this is your problem.
>Your problem is still that root owns the files. Q-S is running as root.
>  
>
Mumble mumble ....

O.K., I run qmail-scanner-queue.pl -g ....
This is a output ....
[EMAIL PROTECTED] root]# whoami
root
[EMAIL PROTECTED] root]# su clamav
sh: /root/.bashrc: Permission denied
[EMAIL PROTECTED] root]$ whoami
clamav
[EMAIL PROTECTED] root]$ /var/qmail/bin/qmail-scanner-queue.pl -g
perlscanner: generate new DB file from
/var/spool/qmailscan/quarantine-attachments.txt
perlscanner: total of 9 entries.
[EMAIL PROTECTED] root]$

A doubt comes me....
Qmail-scanner, during configuration, don't find suidperl ....
.... in fact into auto generation script appear #!/usr/bin/perl -T

Is possible my system have a bad version of suidperl (ex: bad file
permission ....)
-rws--x--x    2 root     root        61108 mar  6  2003 /usr/bin/suidperl

This is a output processes during email-scanner ....
qscand    1022  0.0  2.4 14120 12816 ?       S    15:55   0:00 clamd -c
/etc/clamd.conf
qscand    3431 11.3  0.9  7204 4868 ?        S    16:27   0:00
/usr/bin/suidperl -T /dev/fd/4//var/qmail/bin/qmail-scanner-queue.pl
qscand    3439  0.0  0.1  2068  972 ?        S    16:27   0:00 sh -c
/usr/bin/spamc  -f -u "[EMAIL PROTECTED]"  <
/var/spool/qmailscan/working/new/godzilla.mizasol10840264724793431
qscand    3440  0.0  0.0  1880  436 ?        S    16:27   0:00
/usr/bin/spamc -f -u [EMAIL PROTECTED]

Appear that qmail-scanner-queue.pl process run under qscand ....

Me the head is being broken off!
:-)

Bye,

Enrico








-------------------------------------------------------
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