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