I have a Red Hat 9.0 system with postfix-2.1.5-4.rh9 packet, amavisd-new-2.2.1 tarball and clamav-0.83-1.0.rh9.rf packet. I have enabled ClamAV in my amavisd.conf config file with these options:
### http://www.clamav.net/ ['Clam Antivirus - clamscan', 'clamscan', '--stdout --no-summary -r {}', [0], [1], qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ], When I recive an email with a virus I watch these lines in my maillog file: Feb 17 12:25:42 mymachine amavis[30563]: (XXkbpTix) Virus scanner failure: /usr/bin/clamscan (exit status: 127) Feb 17 12:26:54 mymachine amavis[30112]: (XXZA4ohT) Virus scanner failure: /usr/bin/clamscan (exit status: 127) Feb 17 12:26:54 mymachine amavis[30563]: (XXsNybET) Virus scanner failure: /usr/bin/clamscan (exit status: 127) Feb 17 12:27:02 mymachine amavis[30076]: (XXgdBWv8) Virus scanner failure: /usr/bin/clamscan (exit status: 127) Feb 17 12:27:50 mymachine amavis[30112]: (XXdWerts) Virus scanner failure: /usr/bin/clamscan (exit status: 127) Feb 17 12:27:50 mymachine amavis[30563]: (XXH77M20) Virus scanner failure: /usr/bin/clamscan (exit status: 127) I don't understand why my clamscan doesn't work when amavis run clamscan. When I run clamscan in command line it works. Thanks. _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users