Expansions: extract methods for JSON objects and arrays. Bug 2282
[exim.git] / test / scripts / 4000-scanning / 4003
1 # content scan interface: rspamd
2 #
3 # The spooled file for scanning includes the test-runner's user name
4 # hence size varies.  Munge that.
5 munge scanfile_size
6 #
7 server 11333
8 <CHECK RSPAMC/1.3
9 <Content-length:
10 <Queue-Id:
11 <From:
12 <Recipient-Number: 1
13 <Rcpt:
14 <Helo:
15 <User:
16 <
17 <From
18 <X-Envelope-From
19 <X-Envelope-To
20 <Received:
21 <       by
22 <       (envelope
23 <       id
24 <       for
25 <From:
26 <Content-type: text/plain
27 <Message-Id:
28 <Sender:
29 <Date:
30 <
31 <test
32 >RSPAMD/1.3 0 EX_OK
33 >Metric: default; True; 15.00 / 15.00 / 0.0
34 >Action: reject
35 >Symbol: FAKE_SYMBOL_A(15.00)
36 >Symbol: FAKE_SYMBOL_B(0.00)
37 >Message-ID: undef
38 *eof
39 ****
40 exim -odi -bs
41 ehlo test.ex
42 mail from:<>
43 rcpt to:<userx@test.ex>
44 data
45 From: MAILER_DAEMON <>
46 Content-type: text/plain
47
48 test
49 .
50 quit
51 ****