Terry Letsche wrote:
Hi.
Files and directories are being created with the following permissions when checked by clamav:
/var/spool/qmailscan/working/new/blah root.root 0600 /var/spool/qmailscan/tmp dirs are root.root 0700
This gives me the following errors in the logs:
Tue, 13 Jul 2004 17:03:09 CDT:2410: ini_sc: start scanning
Tue, 13 Jul 2004 17:03:09 CDT:2410: ini_sc: recursively scan the directory /var/spool/qmailscan/tmp/www.letsche.net10897561884822410/
Tue, 13 Jul 2004 17:03:09 CDT:2410: scanloop: starting scan of directory "/var/spool/qmailscan/tmp/www.letsche.net10897561884822410"...
Tue, 13 Jul 2004 17:03:09 CDT:2410: scanloop: scanner=clamdscan_scanner,plain_text_msg=0
Tue, 13 Jul 2004 17:03:09 CDT:2410: clamdscan: starting scan of directory "/var/spool/qmailscan/tmp/www.letsche.net10897561884822410"...
Tue, 13 Jul 2004 17:03:09 CDT:2410: run /usr/bin/clamdscan -r --disable-summary --max-recursion=10 --max-space=100000 /var/spool/qmailscan/tmp/www.letsche.net10897561884822410 2>&1
Tue, 13 Jul 2004 17:03:09 CDT:2410: --output of clamdscan was:
/var/spool/qmailscan/tmp/www.letsche.net10897561884822410: Access denied. ERROR /var/spool/qmailscan/tmp/www.letsche.net10897561884822410: OK
--
Tue, 13 Jul 2004 17:03:09 CDT:2410: error_condition: X-Qmail-Scanner-1.22: clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 2
This is with qmail-scanner 1.22, spamassassin 2.63, f-prot 4.4.2/3.14.11, maildrop 1.6.3.20040608-1.2, qmail 1.03 and clamav 0.74-1 on Fedora Core 2. I'm running clamd as user qscand, BTW. Changing ownership of reformime, as has been suggested
didn't help. /var/spool/qmailscan/working and /var/spool/qmailscan/tmp are both owned by qscand.qscand, 0770. Removing clamdscan from scanner_array returns operation back to normal (using f-prot and spamassassin without clamav).
I'm sure it's something obvious, but I can't put my finger on it!
Thanks.
Terry
check your permissions on reformine
Regards Dean
Maybe its time this became a FAQ
-------------------------------------------------------
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