In order for Qmail-Scanner to be able to use ClamAV, some of the ClamAV ownerships must be changed. If you recall, we made a clamav user to run ClamAV, and then changed the permissions so only the clamav user could run it. Now we need to provide the qscand user privledges to use ClamAV First, change the ownership of the clamd supervise directories.
#chown -R qscand /usr/local/clamav/supervise |
Now change the ownership of the ClamAV log file:
#chown -R qscand /var/log/clamd |