Fix GNU/Hurd build. Bug 3044
[exim.git] / test / scripts / 0000-Basic / 0622
1 # PIPELINING and 250 after 452 in a set of RCPT responses
2 need_ipv4
3 #
4 exim -DSERVER=server -bd -oX PORT_D
5 ****
6 exim -odq -t
7 To: A@test.ex,B@test.ex,C@test.ex,D@test.ex,E@test.ex,F@test.ex
8      
9 Testing
10 ****
11 # "A" should go throuugh as one MAIL FROM message, B,E,F as a second, C,D
12 # as a third - due to the server responses.  Note that the client logging
13 # gets overlapped; look at the server's id= logged with the 250 by the client.
14 exim -M $msg1
15 ****
16 #
17 #
18 #
19 #
20 # Repeat without pipelining, just as a baseline check.
21 # The optimisation, that does another message attempt immediately on the open
22 # connection, is only there for the pipelined case at present.  So we must
23 # kick the message three times for three separate connections.
24 # (A possible enhancement, if anyone cares.  "first_addr" in
25 # smtp_deliver/sync_responses is the key).
26 #
27 exim -odq -t
28 To: A@test.ex,B@test.ex,C@test.ex,D@test.ex,E@test.ex,F@test.ex
29      
30 Testing
31 ****
32 exim -DHAP=hosts_avoid_pipelining=127.0.0.1 -M $msg1
33 ****
34 exim -DHAP=hosts_avoid_pipelining=127.0.0.1 -M $msg1
35 ****
36 exim -DHAP=hosts_avoid_pipelining=127.0.0.1 -M $msg1
37 ****
38 #
39 #
40 killdaemon
41 no_msglog_check
42 sleep 1