clamd socket timeout and failover

Michael Orlitzky michael at orlitzky.com
Thu Aug 19 13:05:46 CEST 2021


On Thu, 2021-08-19 at 12:09 +0200, Matus UHLAR - fantomas wrote:
> Hello,
> 
> it looks that when amavisd receives timeout from clamd, it falls to calling
> clamscan.
> 
> Can I tune this timeout and optionally disable fallback?
> 
> when our system is overloaded, calling clamscan makes it even worse.
> 

I would just delete the clamscan fallback entirely:

  (a) There aren't many plausible scenarios where clamdscan fails
      but clamscan works.

  (b) Running clamscan on a production mail system is going to kill it.




More information about the amavis-users mailing list