1 # interface selection (v4 vs v6) in outgoing SMTP
5 exim -DSERVER=server -bd -oX PORT_D
10 interface: <; ::1 ; HOSTIPV4
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.
20 interface: <; HOSTIPV6 ; HOSTIPV4
25 interface: <; ${if eq{0}{1}{HOSTIPV6}fail}
30 interface: <; ${if eq{0}{1}{HOSTIPV6}{ }}