Testsuite: fix munge for mailq
[exim.git] / test / scripts / 0000-Basic / 0950
1 # Sieve filter: basic classify reject/deliver
2 #
3 exim -bd -DSERVER=server -oX PORT_D
4 ****
5 #
6 #
7 client 127.0.0.1 PORT_D
8 ??? 220
9 HELO tester
10 ??? 250
11 MAIL FROM:<implcit@test.ex>
12 ??? 250
13 RCPT TO:<CALLER@test.ex>
14 ??? 250
15 DATA
16 ??? 354
17 From: <good@test.ex>
18 Subject: this should be accepted and filed
19
20 a single body line
21 .
22 ??? 250
23 RSET
24 ??? 250
25 +++ 1
26 MAIL FROM:<discard@test.ex>
27 ??? 250
28 RCPT TO:<CALLER@test.ex>
29 ??? 250
30 DATA
31 ??? 354
32 From: <coyote@test.ex>
33 Subject: this should be discarded by the filter
34 .
35 ??? 250
36 RSET
37 ??? 250
38 +++ 1
39 MAIL FROM:<identified@test.ex>
40 ??? 250
41 RCPT TO:<CALLER@test.ex>
42 ??? 250
43 DATA
44 ??? 354
45 From: <spot_this@test.ex>
46 Subject: this should be delivered to a speicifc place by the filter
47 .
48 ??? 250
49 RSET
50 ??? 250
51 +++ 1
52 MAIL FROM:<redirect@test.ex>
53 ??? 250
54 RCPT TO:<CALLER@test.ex>
55 ??? 250
56 DATA
57 ??? 354
58 From: <redirect@test.ex>
59 Subject: this should be redirected by the filter to a different address
60 .
61 ??? 250
62 QUIT
63 ??? 221
64 ****
65 #
66 millisleep 500
67 killdaemon