X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/71bb51e08dc03f768d19f237fed415bc74246de3..bf3e317e5a01916a351278597c6c0664ed198ddc:/test/scripts/4017_scan_avast_multiline/4017 diff --git a/test/scripts/4017_scan_avast_multiline/4017 b/test/scripts/4017_scan_avast_multiline/4017 index d075825b8..3f888ea63 100644 --- a/test/scripts/4017_scan_avast_multiline/4017 +++ b/test/scripts/4017_scan_avast_multiline/4017 @@ -31,15 +31,13 @@ quit **** # # -### clean and error | multiline response +### scanner tmpfail -> defer server DIR/eximdir/avast_sock >LF>220 ready LF>210 SCAN DATA ->LF>/bin/ok [+] ->LF>/bin/error [E]0.0 ->LF>/bin/infected [L]0.0 0 This is not even EICAR! ->LF>200 SCAN OK +>LF>/bin/error [E]0.0 Error 13 Permission\\ denied +>LF>451 SCAN Engine error 13 Permission denied reject +server DIR/eximdir/avast_sock +>LF>220 ready +LF>210 SCAN DATA +>LF>/bin/clean [+] +>LF>v\\ i\\ a\\ r\\ u\\ s [L]9.0 0 This\\ is\\ not\\ even\\ an\\ EICAR\\ test\\ virus. +>LF>200 SCAN OK + +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be rejected + +. +quit +**** +# +# +# clean, error, infected -> reject server DIR/eximdir/avast_sock >LF>220 ready LF>210 SCAN DATA >LF>/bin/clean [+] ->LF>v\\ i\\ a\\ r\\ u\\ s [L]9.9 9 This ist not even an EICAR test virus. +>LF>/bin/error [E]0.0 Error 42110 The\\ file\\ is\\ a\\ decompression\\ bomb +>LF>v\\ i\\ a\\ r\\ u\\ s [L]9.0 0 This\\ is\\ not\\ even\\ an\\ EICAR\\ test\\ virus. >LF>200 SCAN OK reject +server DIR/eximdir/avast_sock +>LF>220 ready +LF>210 SCAN DATA +>LF>/bin/clean [+] +>LF>/bin/error [E]0.0 Error 42110 The\\ file\\ is\\ a\\ decompression\\ bomb +>LF>200 SCAN OK + +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be rejected + +. +quit +**** +# +# +# clean, error (pass_unscanned) -> accept +server DIR/eximdir/avast_sock +>LF>220 ready +LF>210 SCAN DATA +>LF>/bin/clean [+] +>LF>/bin/error [E]0.0 Error 42110 The\\ file\\ is\\ a\\ decompression\\ bomb +>LF>200 SCAN OK + +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be accepted + +. +quit +****