Re: [exim] clamd: killed last night

Top Page
Delete this message
Reply to this message
Author: Mike Cardwell
Date:  
To: Exim Mailing List
Subject: Re: [exim] clamd: killed last night
Chris Searle wrote:

>>> Is there anybody else who had the same problem?
>> ACK.
>>
>> The freshclam daemon obviously locked the database long enough for
>> clamd
>> to time out retrying to obtain a lock on the DB. So it ended itself.
>
> Same here.
>
> One thing I wonder - with the following setting:
>
> av_scanner = clamd:/var/run/clamav/clamd.ctl
>
> Is there any way to configure exim to say that instead of rejecting
> when this is missing in /var/run - allow mail as normal - just add a X-
> something-sensible here header to say that mail was not virus scanned?


warn !condition = ${if exists{/var/run/clamav/clamd.ctl}}
      add_header = X-something-sensible: Foo
deny condition  = ${if exists{/var/run/clamav/clamd.ctl}}
      malware    = *


Mike