X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/376e377e2de95486a752620f8e52d270cdab5c7c..23a217d97daf7e76ff6f586af43d13892fafa42b:/test/scripts/4000-scanning/4006 diff --git a/test/scripts/4000-scanning/4006 b/test/scripts/4000-scanning/4006 index af9af4964..a58188c95 100644 --- a/test/scripts/4000-scanning/4006 +++ b/test/scripts/4000-scanning/4006 @@ -15,7 +15,7 @@ server DIR/eximdir/avast_sock # # # -exim -odi -bs -DOPTION="FLAGS -fullfiles" +exim -odi -bs -DOPTION="FLAGS -fullfiles" -DINSERT= ehlo test.ex mail from:<> rcpt to: @@ -41,13 +41,13 @@ server DIR/eximdir/avast_sock # # # -exim -odi -bs -DOPTION= +exim -odi -bs -DOPTION= -DINSERT= 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, the scanner had an error . quit @@ -59,7 +59,7 @@ server DIR/eximdir/avast_sock >LF>220 ready LF>210 SCAN DATA ->LF>b\ l\ a\ h [L]9.9 9 VNAME +>LF>b\\ l\\ a\\ h [L]9.9 9 VNAME >LF>200 SCAN OK rcpt to: @@ -78,3 +78,43 @@ Subject: message should be rejected . quit **** +# +# +# +server DIR/eximdir/avast_sock +*sleep 3 +**** +# +# +# +exim -odi -bs -DOPTION= -DINSERT="/tmo=2s" +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be tmp-rejected due to timeout + +. +quit +**** +# +# +# +server DIR/eximdir/avast_sock +*sleep 3 +**** +# +# +# +exim -odi -bs -DOPTION= -DINSERT="/tmo=2s/defer_ok" +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be accepted despite timeout + +. +quit +****