Testsuite: fix 0903
[exim.git] / test / scripts / 0000-Basic / 0548
CommitLineData
8852dff2
PH
1# recipient and host defer interactions
2# In this test, the primary host (normal IP address) defers the recipient, and
3# the secondary host (loopback address) defers the connection.
4#
5need_ipv4
6#
7exim -DSERVER=server -bd -oX PORT_D
8****
9exim -odi userx@test.ex
10Test message
11****
bfe645c1 12# defers from both
8852dff2 13dump retry
bfe645c1
JH
14millisleep 2100
15# At this point, the primary host retry rule ehould have timed out
16# and the secondary is ready for a retry
8852dff2
PH
17exim -q
18****
19dump retry
bfe645c1
JH
20millisleep 2100
21# This should be similar
8852dff2
PH
22exim -q
23****
24dump retry
bfe645c1
JH
25# with luck this is tried within a second after the previous
26# so the primary gets tried (it's a new RCPT so the existing retry record is irrelevant)
27# but the secondary is not yet ready for a retry (host record)
8852dff2
PH
28exim -odi usery@test.ex
29Test message 2.
30****
bfe645c1
JH
31dump retry
32millisleep 2000
8852dff2
PH
33exim -q
34****
35killdaemon
36no_msglog_check