-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I might have found the reason for those LibClamAV errors which (almost) nobody
else seems to have.
Today I ran aptitude which also updated all clamav packages. During
installation I opted for the standard package configuration - as I didn't make
any configuration changes.
Soon after that I got another LibClamAV "courierfilter: LibClamAV Error:
cl_free: engine == NULL" error.
While trying to find the problem I also tested the pythonfilter clamav.py
program i.e. the included python modules.
- - ---
python
Python 2.5.2 (r252:60911, Jan 24 2010, 14:53:14)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> import pyclamav
>>> help(pyclamav)
>>> pyclamav.version()
'0.4.1'
>>> pyclamav.get_version()
LibClamAV Error: cl_cvdhead: Can't open file /var/lib/clamav//daily.cvd
('0.96.3', 0, 0)
>>>
- - ---
Where I had a /var/lib/clamav/daily.cvd file before there was now a
/var/lib/clamav/daily.cld file.
It seems that 'daily.cvd' is the compressed version of 'daily.cld'.
The clamav-freshclam package's standard configuration contains
'CompressLocalDatabase no'.
So, the first database upgrade after the program upgrade downloaded the
daily.cld file.
Unfortunately pyclamav doesn't seem to understand the uncompressed format. As a
result Courier will block all messages to be sent.
Would it be possible to include a test for the correct clamav database
versionand throw up an error if 'daily.cvd' doesn't exist? This would be very
helpful and remove a potential mail disruption.
Cheers,
Bernd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkyzGM8ACgkQpYU8M8PbPV4B6wCfUc0WP68hkkMJGTX7lDm9dNVA
mMEAn0f0rroxWwu+xjxXRgF3iqe8FTje
=NZgl
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users