summaryrefslogtreecommitdiff
path: root/test/scripts/9900-testing/9900
blob: a79f4dc94db9711cd476ba9fdefddc996a88dc06 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# retry times when no IPv6 connectivity
need_ipv4
#
server PORT_S
220 ESMTP
EHLO
250-OK
250 HELP
MAIL FROM:
250 Sender OK
RCPT TO:
250 Recipient OK
DATA
350 Send message
.
250 OK
QUIT
250 OK
****
# This should successfully send to the IPv4 address, after failing to
# connect to the IPv6 address.
exim -odi userx@mx46cd.test.ex
First message
****
# Let the IPv6 address time out
sleep 2
#
server PORT_S
220 ESMTP
EHLO
250-OK
250 HELP
MAIL FROM:
250 Sender OK
RCPT TO:
250 Recipient OK
DATA
350 Send message
.
250 OK
QUIT
250 OK
****
# This should also be successful
exim -odi userx@mx46cd.test.ex
Second message
****
#
dump retry
# The IPv6 address has timed out, but the IPv4 address should still be OK
exim -odi userx@mx46cd.test.ex
Third message
****
dump retry
exim -q
****
exim -q
****
exim -q
****
exim -q
****
exim -q
****
no_msglog_check