X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/a60f6c07eea74e79b88828295a191e79595d8960..d1e5e96dd46f68ee04eb27995c026d5f9ae226f6:/test/scripts/4000-scanning/4003?ds=sidebyside diff --git a/test/scripts/4000-scanning/4003 b/test/scripts/4000-scanning/4003 index 0bfa14e9e..e5a7c9492 100644 --- a/test/scripts/4000-scanning/4003 +++ b/test/scripts/4000-scanning/4003 @@ -1,62 +1,51 @@ -# content scan interface: fsecure -# -server DIR/eximdir/fsec_sock -ignored_response -ignored_response -ignored_response -ignored_response -LF>random ignored line ->LF>random ignored line 2 ->LF>OK Scan ok. +# content scan interface: rspamd +# +# The spooled file for scanning includes the test-runner's user name +# hence size varies. Munge that. +munge scanfile_size +# +server 11333 +RSPAMD/1.3 0 EX_OK +>Metric: default; True; 15.00 / 15.00 / 0.0 +>Action: reject +>Symbol: FAKE_SYMBOL_A(15.00) +>Symbol: FAKE_SYMBOL_B(0.00) +>Message-ID: undef *eof **** -# -# -# -exim -odi -bs -ehlo test.ex -mail from:<> -rcpt to: -data -Date: Fri, 17 Dec 2004 14:35:01 +0100 -Subject: message should be accepted - -. -quit -**** -# -# -# -server DIR/eximdir/fsec_sock -ignored_response -ignored_response -ignored_response -ignored_response -LF>xxxINFECTED blah VNAME blah ->LF>OK Scan ok. -*eof -**** -# -# -# exim -odi -bs ehlo test.ex mail from:<> rcpt to: data -Date: Fri, 17 Dec 2004 14:35:01 +0100 -Subject: message should be rejected +From: MAILER_DAEMON <> +Content-type: text/plain +test . quit ****