X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/f926e27276301de1e2fd011b7edcd1b85d8c4754..6b69b71028f15c7ba3157bac955103b764326f60:/test/confs/0307 diff --git a/test/confs/0307 b/test/confs/0307 index e64a14edd..e07ef794f 100644 --- a/test/confs/0307 +++ b/test/confs/0307 @@ -1,12 +1,8 @@ # Exim test configuration 0307 -exim_path = EXIM_PATH -host_lookup_order = bydns +.include DIR/aux-var/std_conf_prefix + primary_hostname = myhost.test.ex -spool_directory = DIR/spool -log_file_path = DIR/spool/log/%slog -gecos_pattern = "" -gecos_name = CALLER_NAME # ----- Main settings ----- @@ -23,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/$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 @@ -59,6 +53,7 @@ begin transports t1: driver = appendfile file = DIR/test-mail/$local_part + create_file = DIR/test-mail user = CALLER t2: