Re: Re: Timeout Amavis AV-Scan?
Dominic Raferd <[email protected]>
| Newsgroups | gmane.mail.virus.amavis.user |
|---|---|
| Message-ID | <CAF9Mo3+bNJtSg8D1Xv+4Nbpwa8qXiLTr_+9Mi9iO4Z2oan50Ow@mail.gmail.com> |
On Tue, 7 Jul 2020 at 11:12, <[email protected]> wrote: > > Hi, > > in var/mail.log I see that amavis does not wait until longer av-scan results are available. > There is a timeout. > > av-scanner FAILED: run_av error: Exceeded allowed time\n > > Would be great to know, how/where to customize this timeout. > > -- > Best regard, > -Benjamin- > > > Gesendet: Montag, 29. Juni 2020 um 18:04 Uhr > Von: "Damian" <[email protected]> > An: [email protected] > Betreff: Re: Timeout Amavis AV-Scan? > > > is it somehow possible to define, how long amavis should wait for the result of an AV-Scan? > Is it customizable? > > Nothing I am aware of. There is a confvar $child_timeout, but that timeout is for the whole mail processing. > > > In 15-av-scanner config file I added a script and inserted a delay of 60sec on purpose... but amavis does not wait until my delay is out of time and sends the mail to the user instantly... > > > Sounds strange. Are you sure that your av script got executed? Set $child_timeout. The default setting is 8*60 i.e. 8 minutes. So you could try: $child_timeout = 20*60;