Hi,

I've been looking everywhere for a solution to this problem.

I am seeing the same "widely reported" error where clamd can't
read the files created by qmail-scanner.  I have clamd running
as qscand and I've got the latest qmail-scanner 1.22.

I have confirmed that the tmp directory is writable and readable
by qscand and clamdscan is working fine from the command line.

The problem seems to be that the files spooled into tmp are owned
by root... see here:

[EMAIL PROTECTED] tmp]# ls -la xxx*/*
-rw-------  1 root qmail 266 Jul 11 11:40 xxx.com108956044447919915/1089
560444.19917-0.xxx.com

Here I was in the tmp directory and look at the permissions on the file
being created.  Of course, clamdscan fails like so:

Sun, 11 Jul 2004 12:13:40 EDT:24388: clamdscan: starting scan of 
directory "/var
/spool/qmailscan/tmp/xxx.com108956242047924388"...
Sun, 11 Jul 2004 12:13:40 EDT:24388: run /usr/bin/clamdscan -r --disable-
summary
 --max-recursion=10 --max-space=100000  /var/spool/qmailscan/tmp/xxx.com
108956242047924388 2>&1
Sun, 11 Jul 2004 12:13:40 EDT:24388: --output of clamdscan was:
/var/spool/qmailscan/tmp/xxx.com108956242047924388/1089562420.24390-0.ke
ptprivate.com: Unable to open file or directory. ERROR
/var/spool/qmailscan/tmp/xxx.com108956242047924388: OK
--
Sun, 11 Jul 2004 12:13:40 EDT:24388: error_condition: X-Qmail-Scanner-1.22: 
clam
dscan: corrupt or unknown clamd scanner error or memory/resource/perms 
problem -
 exit status 2

Please let me know if you have any idea how to fix this problem.
I'm running on Fedora Core 1 with the qmailtoaster packages.

Steve





-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to