X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/b0e63c7efdc2133c61545b051042d3617ecd2bbd..refs/heads/master:/test/scripts/0000-Basic/0002?ds=sidebyside diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002 index 9b1e5120e..6e0d6dce6 100644 --- a/test/scripts/0000-Basic/0002 +++ b/test/scripts/0000-Basic/0002 @@ -1011,6 +1011,7 @@ match: ${if match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail} match: ${if match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail} ${if eq {1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} match_address: ${if match_address{a.b.c}{a.b.c}{yes}{no}} +protected: ${expand:\N \N} **** exim -d-all+expand+noutf8 -be primary_hostname: $primary_hostname @@ -1018,6 +1019,7 @@ match: ${if match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail} match: ${if match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail} ${if eq {1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} match_address: ${if match_address{a.b.c}{a.b.c}{yes}{no}} +protected: ${expand:\N \N} **** # Sender host name and address etc, all unset exim -be @@ -1088,7 +1090,7 @@ exim -d -bh V4NET.0.0.1 **** exim -d -bh V4NET.0.0.2 **** -# Test $reply_address +# Test $reply_address, $connection_id exim -bh V4NET.0.0.0 helo test mail from:<> @@ -1151,6 +1153,7 @@ ${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}}' +exim -d-all+expand -be +set,t acl_m0 = my:target:string:list +'\${listextract {2} {$acl_m0}}' => '${listextract {2} {$acl_m0}}' ****