Fix ${listextract } from a tainted list
[exim.git] / test / scripts / 0000-Basic / 0002
index 70b4e5f94ce85fcc89cde89fc3021379b2071d56..5101be453050e15ba9ee991303402b6f07ab1ff3 100644 (file)
@@ -1107,3 +1107,7 @@ exim -be
 ${if inlist{aa}{aa} {in list}{not in list}}
 ${if !inlist{aa}{aa} {not in list}{in list}}
 ****
+# listextract from tainted list
+exim -be -oMs my.target.host.name
+'\${listextract {2} {<. $sender_host_name}}'  =>   '${listextract {2} {<. $sender_host_name}}'
+****