On 3/20/2019 3:53 PM, Bowie Bailey wrote:
> On 3/20/2019 2:57 PM, Alessandro Vesely via clamav-users wrote:
>> On Wed 20/Mar/2019 14:53:28 +0100 Bowie Bailey wrote:
>>
>>> On 3/20/2019 8:42 AM, Alessandro Vesely via clamav-users wrote:
>>>> On Tue 19/Mar/2019 15:35:39 +0100 Bowie Bailey wrote:
>>>>
>>>>> ClamAV is taking about 2 1/2 minutes to reload its database on my mail 
>>>>> server.  This
>>>>> seems to frequently happen when we are sending an email, so the 
>>>>> Thunderbird will time
>>>>> out on the send (although the message will frequently go through anyway).
>>>> The mail server should scan the message with the database at hand.  A 
>>>> forked child can do the filtering while the parent reloads.  Upon loading, 
>>>> the child exits and new messages will be scanned by the parent with the 
>>>> updated database.
>>> That would be ideal, but it doesn't seem to be happening that way.  If I 
>>> look at my
>>> logs, I see "SelfCheck", then "Reading databases", and at that point all 
>>> scanning
>>> stops until the "Database correctly reloaded" message 2 1/2 minutes later.
>> Are you using clamd directly (rather than libclamav)?  How is it connected to
>> the mail server?
>>
>>
>>> Is there a setting somewhere to allow scanning to continue with the 
>>> existing child
>>> processes while the reload happens?
>> It has to be coded inside the mail filter; avfilter for Courier works that 
>> way,
>> for one.
> I am running Courier.  I am currently calling clamd via pythonfilter.  I'll 
> have to
> take a look at avfilter.

I'm trying to build avfilter, but it is complaining that it can't find 
libclamav.  I
have ClamAV 0.101.1 installed (built from source).  I was able to find 
libclamav.so
in /usr/local/lib64/.  Do I need to specify that directory somewhere, or am I 
missing
something else?  Do I need to do something special with ClamAV to get the dev 
stuff
installed for the build?

-- 
Bowie

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to