Support Rspamd. Patch from Andrew Lewis, lightly editorialised
[users/jgh/exim.git] / test / scripts / 4000-scanning / 4009
1 # content scan interface: spamassassin
2 server 7833
3 <REPORT SPAMC
4 <User:
5 <Content-length:
6 <
7 <From 
8 <X-Envelope-From
9 <X-Envelope-To
10 <Received: 
11 <       by 
12 <       (envelope
13 <       id 
14 <       for 
15 <Content-type: text/plain
16 <Message-Id:
17 <From:
18 <Date:
19 <
20 <test
21 >SPAMD/1.1 0 EX_OK
22 >Spam: False ; 4.5 / 5.0
23 >
24 >Spam detection software, running on the system "demo",
25 >has NOT identified this incoming email as spam.  The original
26 >message has been attached to this so you can view it or label
27 >similar future email.  If you have any questions, see
28 >@@CONTACT_ADDRESS@@ for details.
29 >
30 >Content preview:  test [...] 
31 >
32 >Content analysis details:   (4.5 points, 5.0 required)
33 >
34 > pts rule name              description
35 >---- ---------------------- --------------------------------------------------
36 >-1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
37 > 1.2 MISSING_HEADERS        Missing To: header
38 > 1.0 MISSING_FROM           Missing From: header
39 > 1.8 MISSING_SUBJECT        Missing Subject: header
40 > 1.4 MISSING_DATE           Missing Date: header
41 > 0.1 MISSING_MID            Missing Message-Id: header
42 >
43 *eof
44 ****
45 exim -odi -bs
46 ehlo test.ex
47 mail from:<>
48 rcpt to:<userx@test.ex>
49 data
50 Content-type: text/plain
51
52 test
53 .
54 quit
55 ****