Hi, guys,

I would like to ask one question.
I currently updated amavisd-new-2.5.2,1 clamav-0.90.3 in FreeBSD, and it
turned out the speed of sending out and receiving the email becomes so slow.

I discovered that amavisd-new is proceeding the virus scanning by using
clamscan, which takes 2 process by capacity 60%-90% of CPU,
meanwhile it takes 3 minutes to scan one email.

Do you have any idea how to solve this problem?
or how to disable clamav, since i think to skip the virus scanning process
to make the sending email out much faster.

p.s. I actually enabled clamd daemon, but it seems still use clamscan for
scanning.

The below is the information for the snippet setting of amavisd.conf:

@av_scanners = (
### http://www.clamav.net/
 ['ClamAV-clamd',
   \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd"],
   qr/\bOK$/, qr/\bFOUND$/,
   qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],

@av_scanners_backup = (
  ### http://www.clamav.net/   - backs up clamd or Mail::ClamAV
  ['ClamAV-clamscan', 'clamscan',
    "--stdout --disable-summary -r --tempdir=$TEMPBASE {}", [0], [1],
    qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],


Kevin.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to