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
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
****
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:<>
${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}}'
****