Re: [exim] 2 Virusscanners at the same time

Top Page
Delete this message
Reply to this message
Author: Mike Cardwell
Date:  
To: Exim Mailing List
Subject: Re: [exim] 2 Virusscanners at the same time
Patrick von der Hagen wrote:

>> I've just come across the same problem with Kaspersky 5.6.26 and Exim 4.69.
>>
>> At http://www.mail-archive.com/exim-users@exim.org/msg30503.html it was
>> suggested that Kapersky 5.6.x may not work with Exim due to an API
>> change. Can anyone confirm this?
> I can now confirm that Kaspesky ships a new exim-library with Kaspersky
> 5.6.x. They clearly document how to load that dynamic library within
> exim and how to evaluate the results. I haven't upgraded to 5.6.x and
> stick to 5.5.x for now.


Perhaps it should say in the Exim documentation at
http://www.exim.org/exim-html-current/doc/html/spec_html/ch41.html when
it mentions Kaspersky that there is a completely different way of using
the latest versions.

I followed their simple instructions, which basically involved a
configure, make and make install inside:

/opt/kaspersky/kav4lms/src/exim-dlfunc

I then shoved this in my exim configuration to test it:

warn logwrite =
KAV:${dlfunc{/opt/kaspersky/kav4lms/lib/libkavexim.so}{kav}{local:/var/run/kav4lms/kavmd.sock}{/tmp/exim-dlfunc}}

Every single time it's run I get this bizarre error:

2008-09-16 11:47:21 1KfY5Z-0007mI-O6 dlopen
"/opt/kaspersky/kav4lms/lib/libkavexim.so" failed:
/opt/kaspersky/kav4lms/lib/libkavexim.so: undefined symbol:
split_spool_directory

What has the split_spool_directory option got to do with anything? Has
anyone seen this error before? I have split_spool_directory defined and
set to TRUE in my exim config. I tried unsetting it and nothing changed...

Mike