Benjamin Adams wrote:
I'm trying to get the load down on my mail server but clamscan keeps coming up and using resources.


[snippage]


I'm not sure what to do to fix this problem, thanks for any help.

Clamscan has to reload all the virus patterns each time it runs so there is a big startup penalty if you're using it to scan incoming and outgoing email. It has to do this potentially thousands of times per minute. Alternatively, the clamd daemon runs continuously and tools such as clamdscan and perl scripts can provide the location of a file or files to scan. It is important to start clamd with a user id that has enough privileges to scan the files that are submitted to it. In your case that would appear to be what ever user Amavisd runs as.

dp
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to