703a7c2aa08faee4f179b745dadc4be81b77d259
[exim.git] / test / scripts / 4000-scanning / 4008
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\r
9 <Content-length: 
10 <Queue-Id: 
11 <From: 
12 <Recipient-Number: 1\r
13 <Rcpt: 
14 <Helo:
15 <User:
16 <\r
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\r
33 >Metric: default; True; 15.00 / 15.00 / 0.0\r
34 >Action: reject\r
35 >Symbol: FAKE_SYMBOL_A(15.00)\r
36 >Symbol: FAKE_SYMBOL_B(0.00)\r
37 >Message-ID: undef\r
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 ****