Testsuite: fix munge for mailq
[exim.git] / test / scripts / 0000-Basic / 0556
1 # SMTP synchronization checks before sending responses
2 need_ipv4
3 #
4 exim -DSERVER=server -DACL_PREDATA=check_predata -bd -oX PORT_D
5 ****
6 # The pause (+++ 1) in the middle of this is so that there is no pending
7 # input when DATA is received, but we start sending the data itself too
8 # early (the server will be waiting 2 seconds in the predata ACL).
9 #
10 client -t5 127.0.0.1 PORT_D
11 ??? 220
12 ehlo abcd
13 ??? 250-
14 ??? 250-
15 ??? 250-
16 ??? 250-
17 ??? 250-
18 ??? 250
19 rset\r\nmail from:<userx@test.ex>\r\nrcpt to:<userx@test.ex>\r\ndata
20 +++ 1
21 Start: sent early ...
22 ??? 250
23 ??? 250
24 ??? 250
25 ??? 554
26 ****
27 sleep 1
28 killdaemon
29 # This time turn off pipelining to check MAIL and RCPT
30 exim -DSERVER=server -DACL_MAIL=check_mail -DACL_RCPT=check_rcpt -DPAH= \
31      -bd -oX PORT_D
32 ****
33 client -t5 127.0.0.1 PORT_D
34 ??? 220
35 ehlo abcd
36 ??? 250-
37 ??? 250-
38 ??? 250-
39 ??? 250-
40 ??? 250
41 mail from:<userx@test.ex>
42 +++ 1
43 rcpt to:<userx@test.ex>
44 ??? 554
45 ****
46 client -t5 127.0.0.1 PORT_D
47 ??? 220
48 ehlo abcd
49 ??? 250-
50 ??? 250-
51 ??? 250-
52 ??? 250-
53 ??? 250
54 mail from:<userx@test.ex>
55 ??? 250
56 rcpt to:<userx@test.ex>
57 +++ 1
58 data
59 ??? 554
60 ****
61 killdaemon