Cond !bool{}/!bool_lax{} did not negate. Fixed.
[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 rset\r\nmail from:<userx@test.ex>\r\nrcpt to:<userx@test.ex>\r\ndata
18 +++ 1
19 Start: sent early ...
20 ??? 250
21 ??? 250
22 ??? 250
23 ??? 554
24 ****
25 sleep 1
26 killdaemon
27 # This time turn off pipelining to check MAIL and RCPT
28 exim -DSERVER=server -DACL_MAIL=check_mail -DACL_RCPT=check_rcpt -DPAH= \
29 -bd -oX PORT_D
30 ****
31 client -t5 127.0.0.1 PORT_D
32 ??? 220
33 ehlo abcd
34 ??? 250-
35 ??? 250-
36 ??? 250
37 mail from:<userx@test.ex>
38 +++ 1
39 rcpt to:<userx@test.ex>
40 ??? 554
41 ****
42 client -t5 127.0.0.1 PORT_D
43 ??? 220
44 ehlo abcd
45 ??? 250-
46 ??? 250-
47 ??? 250
48 mail from:<userx@test.ex>
49 ??? 250
50 rcpt to:<userx@test.ex>
51 +++ 1
52 data
53 ??? 554
54 ****
55 killdaemon