<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,</div>

<div> </div>

<div>in var/mail.log I see that amavis does not wait until longer av-scan results are available.</div>

<div>There is a timeout.</div>

<div> </div>

<div>
<div> av-scanner FAILED: run_av error: Exceeded allowed time\n</div>

<div> </div>

<div>Would be great to know, how/where to customize this timeout.</div>

<div> </div>

<div>--</div>

<div>Best regard,</div>

<div>-Benjamin-</div>
</div>

<div> 
<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Montag, 29. Juni 2020 um 18:04 Uhr<br/>
<b>Von:</b> "Damian" <amavis@arcsin.de><br/>
<b>An:</b> amavis-users@amavis.org<br/>
<b>Betreff:</b> Re: Timeout Amavis AV-Scan?</div>

<div name="quoted-content"> 
<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>is it somehow possible to define, how long amavis should wait for the result of an AV-Scan?</div>

<div>Is it customizable?</div>
</div>
</blockquote>
Nothing I am aware of. There is a confvar $child_timeout, but that timeout is for the whole mail processing.

<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div> </div>

<div>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...</div>

<div> </div>
</div>
</blockquote>
Sounds strange. Are you sure that your av script got executed?</div>
</div>
</div>
</div></div></body></html>