Fix too-often retry bug after 4xx with more hosts than hosts_max_retry.
[exim.git] / test / scripts / 0000-Basic / 0543
CommitLineData
f6c332bd
PH
1# 4xx retries with 2nd message down one SMTP connection
2need_ipv4
3#
4# Put a message on the queue
5exim -odq userx@domain1
6Test message 1
7****
8# Arrange a second message that's had a 4xx
9server PORT_S
10220 ESMTP
11EHLO
12250-OK
13250 HELP
14MAIL
15250 OK
16RCPT
17451 Later, please
18QUIT
19220 OK
20****
21exim -odi usery@domain1
22Test message 2
23****
241
25dump wait-smtp
26# A queue run will try these in order, since queue_run_in_order is set.
27# Arrange that the first one is accepted, so it should fire up the second
28# on the same connection. But it should respect the retry time.
29server PORT_S
30220 ESMTP
31EHLO
32250-OK
33250 HELP
34MAIL
35250 OK
36RCPT
37250 OK
38DATA
39354 More...
40.
41250 OK
42QUIT
43250 OK
44****
45exim -q -d-all+route
46****
47no_msglog_check