X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/0d2e392e281e96d9f9f2f3dd438affe3f2563c57..3e7e6162870de6545f3ee53d0c52d14a6b9434ef:/test/confs/0307 diff --git a/test/confs/0307 b/test/confs/0307 index c2019893a..e07ef794f 100644 --- a/test/confs/0307 +++ b/test/confs/0307 @@ -19,12 +19,10 @@ r1: domains = lists.test.ex local_part_suffix = -request local_part_suffix_optional - senders = ${if eq {$local_part_suffix}{-request}{*}\ - {\ - ${if exists {DIR/aux-fixed/TESTNUM/$local_part}\ - {lsearch;DIR/aux-fixed/TESTNUM/$local_part}{*}}\ - }} - file = DIR/aux-fixed/TESTNUM/${bless:$local_part}$local_part_suffix + senders = ${if eq {$local_part_suffix}{-request} \ + {*} \ + {${lookup {$local_part} dsearch,ret=full {DIR/aux-fixed/TESTNUM} {$value}{*}}} } + file = ${lookup {$local_part$local_part_suffix} dsearch,ret=full {DIR/aux-fixed/TESTNUM} {$value}fail} forbid_pipe forbid_file one_time @@ -54,7 +52,8 @@ begin transports t1: driver = appendfile - file = DIR/test-mail/${bless:$local_part} + file = DIR/test-mail/$local_part + create_file = DIR/test-mail user = CALLER t2: