X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/b28e663219a4fa5046826d948796b982c608a6c9..c045091796727f56e305ca2c9f44409bc07d71ad:/test/scripts/4000-scanning/4005 diff --git a/test/scripts/4000-scanning/4005 b/test/scripts/4000-scanning/4005 index 32a281b03..d251c1a1f 100644 --- a/test/scripts/4000-scanning/4005 +++ b/test/scripts/4000-scanning/4005 @@ -10,7 +10,7 @@ server DIR/eximdir/clam_sock # # # -exim -odi -bs +exim -odi -bs -DOPT= ehlo test.ex mail from:<> rcpt to: @@ -32,13 +32,13 @@ server DIR/eximdir/clam_sock # # # -exim -odi -bs +exim -odi -bs -DOPT= ehlo test.ex mail from:<> rcpt to: data Date: Fri, 17 Dec 2004 14:35:01 +0100 -Subject: defer this one +Subject: defer this one due to scanner error . quit @@ -54,7 +54,7 @@ server DIR/eximdir/clam_sock # # # -exim -odi -bs +exim -odi -bs -DOPT=/defer_ok ehlo test.ex mail from:<> rcpt to: @@ -65,3 +65,65 @@ Subject: message should be rejected . quit **** +# +# +# +server DIR/eximdir/clam_sock +*sleep 3 +**** +# +# +# +exim -odi -bs -DOPT="/ tmo=2s" +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: defer this one due to timeout + +. +quit +**** +# +# +# +server DIR/eximdir/clam_sock +*sleep 3 +**** +# +# +# +exim -odi -bs -DOPT="/ tmo=2s / defer_ok" +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: accept this one despite timeout + +. +quit +**** +# +# +# +# +server -i 2 DIR/eximdir/clam_sock +LF>scanned_file_name: OK +<*eof +**** +# +exim -odi -bs -DCONTROL="retry=4s" +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be accepted after a retry + +. +quit +**** +#