I figured out what was wrong...

When using clamdscan... The scanner daemon is what is actually doing the
work...

Under the default debian install of clamav-daemon, the daemon runs as user
clamav. This user does not have permission to access
/var/spool/qmailscan/tmp

Need to dpkg-reconfigure clamav-daemon and tell it to run as user qscand ...
If you're running freshclam you need to fix that to (you can edit the
configs in /etc/clamav directly)...

With clamav running as a new user it won't start until you change the
permissions on /var/lib/clamav, /var/log/clamav and /var/run/clamav to be
owned by qscand also...

Alternatively I guess you could install qmail-scanner as user clamav and
then you wouldn't have all that mucking around 

Hope this helps...

Michael Ralston
Stral.net

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Terry Letsche
Sent: Saturday, 17 July 2004 4:16 AM
To: [EMAIL PROTECTED]
Subject: RE: [Qmail-scanner-general]Permissions problem
/var/spool/qmailscan/tmp

Jason asked about my permissions for qmail-scanner-queue...

-rwsr-xr-x  1 qscand qscand  4776 Jun 11 14:23 qmail-scanner-queue
-rwxr-xr-x  1 qscand qscand 87684 Jul 15 09:35 qmail-scanner-queue.pl


--
Terry Letsche  | http://terry.letsche.net | terry at letsche dot net


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise
J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to