Testsuite: fix munge for mailq
[exim.git] / test / scripts / 0000-Basic / 0628
1 # debug logging ACL modifier
2 munge debuglog_stdout
3 #
4 # Immediate delivery variant
5 exim -DSERVER=server -bd -oX PORT_D
6 ****
7 #
8 client 127.0.0.1 PORT_D
9 ??? 220
10 EHLO test.ex
11 ??? 250-
12 ??? 250-
13 ??? 250-
14 ??? 250-
15 ??? 250-
16 ??? 250 
17 MAIL FROM:<tester@test.ex>
18 ??? 250
19 RCPT TO:<dest@test.ex>
20 ??? 250
21 DATA
22 ??? 354
23 Subject: test
24
25 body
26 .
27 ??? 250
28 QUIT
29 ??? 221
30 ****
31 #
32 killdaemon
33 #
34 #
35 # This time going via a queue-run
36 exim -DSERVER=server -DCONTROL=queue_only -bd -oX PORT_D
37 ****
38 client 127.0.0.1 PORT_D
39 ??? 220
40 EHLO test.ex
41 ??? 250-
42 ??? 250-
43 ??? 250-
44 ??? 250-
45 ??? 250-
46 ??? 250 
47 MAIL FROM:<tester2@test.ex>
48 ??? 250
49 RCPT TO:<dest2@test.ex>
50 ??? 250
51 DATA
52 ??? 354
53 Subject: test.
54
55 body
56 .
57 ??? 250
58 QUIT
59 ??? 221
60 ****
61 exim -DNOTDAEMON -DSERVER=server -q
62 ****
63 #
64 killdaemon
65 #
66 #
67 # This file should have been written, then removed by the debug/kill in rcpt acl
68 1
69 cat DIR/spool/log/serverdebuglog_1
70 #
71 # copy this file to stderr
72 cat2 DIR/spool/log/serverdebuglog_2
73 #
74 no_msglog_check