summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-04-21 22:40:43 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-04-21 22:40:43 +0100
commit921dfc1193791b722844341c3ec97be158042c17 (patch)
tree0f2ddd49c7831350b39678c3a924d73b3e97eb7f /test
parent3c8b357717e895d6dcddc7faa5b7a0eaf4c73417 (diff)
UTF8: MSA callouts
Diffstat (limited to 'test')
-rw-r--r--test/confs/42014
l---------test/confs/42081
-rw-r--r--test/scripts/4200-International/420823
3 files changed, 28 insertions, 0 deletions
diff --git a/test/confs/4201 b/test/confs/4201
index b1fb7a6ee..4145325cc 100644
--- a/test/confs/4201
+++ b/test/confs/4201
@@ -3,6 +3,7 @@
OPTION = *
CONTROL =
+INSERT =
exim_path = EXIM_PATH
host_lookup_order = bydns
@@ -45,6 +46,9 @@ check_recipient:
.else
sub:
+.ifdef INSERT
+ require INSERT
+.endif
.ifdef CONTROL
require CONTROL
.endif
diff --git a/test/confs/4208 b/test/confs/4208
new file mode 120000
index 000000000..73a348fee
--- /dev/null
+++ b/test/confs/4208
@@ -0,0 +1 @@
+4201 \ No newline at end of file
diff --git a/test/scripts/4200-International/4208 b/test/scripts/4200-International/4208
new file mode 100644
index 000000000..0fa719019
--- /dev/null
+++ b/test/scripts/4200-International/4208
@@ -0,0 +1,23 @@
+# Internationalised mail: utf8_downconvert and callouts
+# Exim test configuration 4208
+#
+exim -DSERVER=server -DOPTION="" -bd -oX PORT_D
+****
+#
+# Recipient verify callout, pass only due to downconvert
+exim -bs -odi -DINSERT="control=utf8_downconvert" -DCONTROL="verify=recipient/callout"
+EHLO client.ffail
+MAIL FROM: <CALLER@spanish.PorquénopuedensimplementehablarenEspañol.local> SMTPUTF8
+RCPT TO: <userS@test.ex>
+QUIT
+****
+
+# Recipient+random verify callout, pass only due to downconvert
+exim -d+all -bs -odi -DINSERT="control=utf8_downconvert" -DCONTROL="verify=recipient/callout=random"
+EHLO client.ffail
+MAIL FROM: <CALLER@vietnamese.TạisaohọkhôngthểchỉnóitiếngViệt.local> SMTPUTF8
+RCPT TO: <userT@test.ex>
+QUIT
+****
+#
+killdaemon