This is an older thread but for people looking for a solution to the problem try this:
It may be as easy as restarting clamd. It was in my case. To be sure though go through these steps:
Code:
ps -ef | grep clamd
Look at the first column. If the user is clamd and not qscand then check the clamd conf file for the line "User qscand":
Code:
vi /etc/clamd.conf
/User
If it says "User clamd" then change it to "User qscand". Either way, restart clamd afterwards.
Code:
service clamd restart
Verify that the process is now owned by qscand:
Code:
ps -ef | grep clamd
Then verify that /var/spool/qscan/tmp is owned by qscand:
Code:
ls -l /var/spool/qscan
If it's not, then change it:
Code:
chmod -R qscand:qscand /var/spool/qscan/tmp
This was based on Centos 5.3 with the following packages:
clamd-0.95.2-1.el5.art
qmail-scanner-2.06-1.el5.art