Commit | Line | Data |
---|---|---|
59371ea7 PH |
1 | # interface selection (v4 vs v6) in outgoing SMTP |
2 | need_ipv4 | |
3 | need_ipv6 | |
4 | # | |
5 | exim -DSERVER=server -bd -oX PORT_D | |
6 | **** | |
f3ebb786 JH |
7 | exim user4@h1.test.ex |
8 | ||
9 | 1 | |
59371ea7 PH |
10 | interface: <; ::1 ; HOSTIPV4 |
11 | **** | |
924bff6e JH |
12 | # |
13 | # This tries to send to ::1 from HOSTIPV6 - which is ok until HOSTIPV6 | |
14 | # is a link-local addr (with a scope-id specifying the link). Then, | |
15 | # it seems, ::1 is not on that link (for Linux, at least). The connect | |
16 | # times out and the testcase fails. | |
f3ebb786 JH |
17 | exim user6@h2.test.ex |
18 | ||
19 | 2 | |
59371ea7 PH |
20 | interface: <; HOSTIPV6 ; HOSTIPV4 |
21 | **** | |
f3ebb786 JH |
22 | exim user6@h3.test.ex |
23 | ||
24 | 3 | |
59371ea7 PH |
25 | interface: <; ${if eq{0}{1}{HOSTIPV6}fail} |
26 | **** | |
f3ebb786 JH |
27 | exim user6@h4.test.ex |
28 | ||
29 | 4 | |
59371ea7 PH |
30 | interface: <; ${if eq{0}{1}{HOSTIPV6}{ }} |
31 | **** | |
f3ebb786 JH |
32 | exim user6@h5.test.ex |
33 | ||
34 | 5 | |
59371ea7 PH |
35 | interface: <; ${if |
36 | **** | |
37 | exim -qf | |
38 | **** | |
39 | killdaemon | |
40 | no_msglog_check |