summaryrefslogtreecommitdiff
path: root/test/scripts/1000-Basic-ipv6/1003
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts/1000-Basic-ipv6/1003')
-rw-r--r--test/scripts/1000-Basic-ipv6/100330
1 files changed, 30 insertions, 0 deletions
diff --git a/test/scripts/1000-Basic-ipv6/1003 b/test/scripts/1000-Basic-ipv6/1003
new file mode 100644
index 000000000..646b1b4a3
--- /dev/null
+++ b/test/scripts/1000-Basic-ipv6/1003
@@ -0,0 +1,30 @@
+# interface selection (v4 vs v6) in outgoing SMTP
+need_ipv4
+need_ipv6
+#
+exim -DSERVER=server -bd -oX PORT_D
+****
+exim userx@test.ex
+hosts: 127.0.0.1
+interface: <; ::1 ; HOSTIPV4
+****
+exim userx@test.ex
+hosts: <; ::1
+interface: <; HOSTIPV6 ; HOSTIPV4
+****
+exim userx@test.ex
+hosts: <; ::1
+interface: <; ${if eq{0}{1}{HOSTIPV6}fail}
+****
+exim userx@test.ex
+hosts: <; ::1
+interface: <; ${if eq{0}{1}{HOSTIPV6}{ }}
+****
+exim userx@test.ex
+hosts: <; ::1
+interface: <; ${if
+****
+exim -qf
+****
+killdaemon
+no_msglog_check