X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d4dc049f9a9e80ac3a470fd644418668eefedecb..2382cd3e81838709abd3b0c1b410f65274d90e25:/test/confs/0306 diff --git a/test/confs/0306 b/test/confs/0306 index 6d6d9658a..ec18055ad 100644 --- a/test/confs/0306 +++ b/test/confs/0306 @@ -27,14 +27,15 @@ r1: driver = redirect domains = lists.test.ex local_part_suffix = -request - file = DIR/aux-fixed/TESTNUM/$local_part$local_part_suffix + file = ${lookup {$local_part$local_part_suffix} dsearch,ret=full {DIR/aux-fixed/TESTNUM} {$value}fail} r2: driver = redirect domains = lists.test.ex - senders = ${if exists {DIR/aux-fixed/TESTNUM/$local_part}\ - {lsearch;DIR/aux-fixed/TESTNUM/$local_part}{*}} - file = DIR/aux-fixed/TESTNUM/$local_part + senders = ${if exists {DIR/aux-fixed/TESTNUM/$local_part} \ + {lsearch;${lookup {$local_part} dsearch,ret=full {DIR/aux-fixed/TESTNUM}}} \ + {*}} + file = ${lookup {$local_part} dsearch,ret=full {DIR/aux-fixed/TESTNUM} {$value}fail} forbid_pipe forbid_file one_time @@ -65,6 +66,7 @@ begin transports t1: driver = appendfile file = DIR/test-mail/$local_part + create_file = DIR/test-mail user = CALLER t2: