tidying
[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 MAIL FROM:<tester@test.ex>
17 ??? 250
18 RCPT TO:<dest@test.ex>
19 ??? 250
20 DATA
21 ??? 354
22 Subject: test
23
24 body
25 .
26 ??? 250
27 QUIT
28 ??? 221
29 ****
30 #
31 killdaemon
32 #
33 #
34 # This time going via a queue-run
35 exim -DSERVER=server -DCONTROL=queue_only -bd -oX PORT_D
36 ****
37 client 127.0.0.1 PORT_D
38 ??? 220
39 EHLO test.ex
40 ??? 250-
41 ??? 250-
42 ??? 250-
43 ??? 250-
44 ??? 250 
45 MAIL FROM:<tester2@test.ex>
46 ??? 250
47 RCPT TO:<dest2@test.ex>
48 ??? 250
49 DATA
50 ??? 354
51 Subject: test.
52
53 body
54 .
55 ??? 250
56 QUIT
57 ??? 221
58 ****
59 exim -DNOTDAEMON -DSERVER=server -q
60 ****
61 #
62 killdaemon
63 #
64 #
65 # This file should have been written, then removed by the debug/kill in rcpt acl
66 1
67 cat DIR/spool/log/serverdebuglog_1
68 #
69 cp DIR/spool/log/serverdebuglog_2 /dev/stderr
70 #
71 no_msglog_check