Testsuite: regression-test for bug. Bug 2449
[exim.git] / test / scripts / 0000-Basic / 0288
1 # serialize_hosts
2 need_ipv4
3 #
4 # preload the spool
5 exim -odq a b
6 .
7 ****
8 #
9 # a slow server as a test target
10 server PORT_S
11 220 ESMTP
12 EHLO
13 250-OK
14 250 HELP
15 *sleep 2
16 MAIL FROM:
17 250 Sender OK
18 RCPT TO:
19 250 Recipient OK
20 DATA
21 354 Send data
22 .
23 250 OK
24 QUIT
25 250 OK
26 ****
27 #
28 # First message should go; second does not wait for 1st complete
29 # on same conn due to connection_max_messages, then is deferred
30 # as second transport run aborted by serialize_hosts.
31 exim -q
32 ****
33 #
34 # a server as a test target
35 server PORT_S
36 220 ESMTP
37 EHLO
38 250-OK
39 250 HELP
40 MAIL FROM:
41 250 Sender OK
42 RCPT TO:
43 250 Recipient OK
44 DATA
45 354 Send data
46 .
47 250 OK
48 QUIT
49 250 OK
50 ****
51 #
52 # Remaining message on queue should go immediately; no delay
53 # associated with retry rules
54 exim -q
55 ****