hi i´m using clamav with amavisd-new on my mailserver. at the weekend clamav crashed and amavisd new didn´t work anymore and over 3000 mails have been queued. it uses clamav as primary internal virus scanner. i want to reconfigure amavisd-new that it uses clamav as secondary scanner and will continue working if clamav isn´t started. i just commented out the lines below in the backup-av list in amavisd.conf:
... ### http://www.clamav.net/ - backs up clamd or Mail::ClamAV ['ClamAV-clamscan', 'clamscan', "--stdout --disable-summary -r --tempdir=$TEMPBASE {}", [0], qr/:.*\sFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ], ... amavisd-new doesn´t find clamav as secondary scanner. i tried to use the entry in primary scanners section and copied it to the backup-av section: ... ### http://www.clamav.net/ ['ClamAV-clamd', \&ask_daemon, ["CONTSCAN {}\n", "/var/spool/amavisd/clamd.sock"], qr/\bOK$/, qr/\bFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ], ... when i shut down clamav then amavisd-new doesn´t work anymore. i have nod32 as primary av-scanner working and want clamav to be used as secondary scanner. if clamav isn´t started then amavisd-new should continue its work. how can i configure amavisd-new to use clamav as backup scanner? thanks regards philippe ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
