Jason Haar wrote:
On Thu, May 13, 2004 at 08:52:19AM +0200, Dean Mumby wrote:
If i run clamd as root then all scanning happens and mail is processed. If I run clamd as qscand ( chown -Rf qscand:clamav /var/clamav/ and chown -Rf qscand:clamav /var/run/clamav/ ) then scanning fails with clam complaining that it can open /var/spool/qmailscan/tmp/cen.8u9sd8987d9s/dir.
Doing chown alone won't make clamd run as qscand. Did you alter
/usr/local/etc/clamav.conf too?
it seems that files under /var/spool/qmailscan/tmp/emaildir/ are created as being root:vchkpw
Well, that answers my previous question: no you didn't :-)
But does'nt qmail-scanner handle unpacking the files under /var/spool/qmailscan/tmp ?
Clamd would only be called to actaully scan those files , so if the permission are wrong how is that clamd's fault ?
If those files were owned by qscand then clamd running as qscand (/etc/clamav.conf) would be able to scan them.
Or am I way off base hear ?
Regards Dean
------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general