Re: [exim] clamd: killed last night

Pàgina inicial
Delete this message
Reply to this message
Autor: Mike Cardwell
Data:  
A: Exim Mailing List
Assumpte: 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