Commit | Line | Data |
---|---|---|
c5f280e2 | 1 | # content scan interface: rspamd |
35deab6a JH |
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 | # | |
c5f280e2 | 7 | server 11333 |
88d979eb HSHR |
8 | <CHECK RSPAMC/1.3 |
9 | <Content-length: | |
10 | <Queue-Id: | |
11 | <From: | |
12 | <Recipient-Number: 1 | |
13 | <Rcpt: | |
c5f280e2 | 14 | <Helo: |
6c54be64 | 15 | <User: |
88d979eb HSHR |
16 | < |
17 | <From | |
c5f280e2 AL |
18 | <X-Envelope-From |
19 | <X-Envelope-To | |
88d979eb HSHR |
20 | <Received: |
21 | < by | |
c5f280e2 | 22 | < (envelope |
88d979eb HSHR |
23 | < id |
24 | < for | |
35deab6a | 25 | <From: |
c5f280e2 AL |
26 | <Content-type: text/plain |
27 | <Message-Id: | |
35deab6a | 28 | <Sender: |
c5f280e2 AL |
29 | <Date: |
30 | < | |
31 | <test | |
88d979eb HSHR |
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 | |
c5f280e2 AL |
38 | *eof |
39 | **** | |
40 | exim -odi -bs | |
41 | ehlo test.ex | |
42 | mail from:<> | |
43 | rcpt to:<userx@test.ex> | |
44 | data | |
35deab6a | 45 | From: MAILER_DAEMON <> |
c5f280e2 AL |
46 | Content-type: text/plain |
47 | ||
48 | test | |
49 | . | |
50 | quit | |
51 | **** |