[Pkg-clamav-devel] Bug#609683: clamscan useless with amavis

Grzegorz Bizon grzesiek at ntsn.pl
Tue Jan 11 14:27:30 UTC 2011


Package: clamav
Version: 0.96.5+dfsg-1~volatile1
Severity: normal

Hello.

It seems that clamav volatile package is not compatible with
amavisd-new in stable (precisely - clamscan). 

Amavis reports this error:

amavis[12407]: (12407-17) (!!)WARN: all primary virus scanners failed,
considering backups 

amavis[12407]: (12407-17) (!!)run_av (ClamAV-clamscan) FAILED
- unexpected exit 1, output="WARNING: Ignoring deprecated option
--disable-summary\n/var/lib/amavis/tmp/amavis-20110104T084822-12407/parts/p001:
OK\n/var/lib/amavis/tmp/amavis-20110104T084822-12407/parts/p002:
Eicar-Test-Signature FOUND\n\n----------- SCAN SUMMARY
-----------\nKnown viruses: 858869\nEngine version: 0.96.5\nScanned
directories: 1\nScanned files: 2\nInfected files: 1\nData scanned: 0.00
MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 2.866 sec (0 m 2 s)" 

amavis[12407]: (12407-17) (!!)ClamAV-clamscan 
av-scanner FAILED: /usr/bin/clamscan unexpected exit 1,
output="WARNING: Ignoring deprecated option
--disable-summary\n/var/lib/amavis/tmp/amavis-20110104T084822-12407/parts/p001:
OK\n/var/lib/amavis/tmp/amavis-20110104T084822-12407/parts/p002:
Eicar-Test-Signature FOUND\n\n----------- SCAN SUMMARY
-----------\nKnown viruses: 858869\nEngine version: 0.96.5\nScanned
directories: 1\nScanned files: 2\nInfected files: 1\nData scanned: 0.00
MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 2.866 sec (0 m 2 s)" at
(eval 88) line 527. 

amavis[12407]: (12407-17) (!!)TROUBLE in check_mail: virus_scan FAILED

Default amavis invokes clamscan with --disable-summary deprecated
option, and clamscan 0.96.5 version requires --no-summary option.

--disable-summary shouldn't be ignored as to provide backward
compatibility for amavisd-new package in stable.

Am I right with this ?

Regards,
 Grzegorz Bizon


-- 
[ ntsn.pl Software Development / http://ntsn.pl/en ]





More information about the Pkg-clamav-devel mailing list