Revert "Build: remove hints-DB interface from macro-predef phase"
[exim.git] / test / scripts / 4000-scanning / 4004
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 <       
26 <From:
27 <Content-type: text/plain
28 <Message-Id:
29 <Sender:
30 <Date:
31 <
32 <test
33 >RSPAMD/1.3 0 EX_OK
34 >Metric: default; True; 15.00 / 15.00 / 0.0
35 >Action: reject
36 >Symbol: FAKE_SYMBOL_A(15.00)
37 >Symbol: FAKE_SYMBOL_B(0.00)
38 >Message-ID: undef
39 *eof
40 ****
41 exim -odi -bs
42 ehlo test.ex
43 mail from:<>
44 rcpt to:<userx@test.ex>
45 data
46 From: MAILER_DAEMON <>
47 Content-type: text/plain
48
49 test
50 .
51 quit
52 ****