X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=test%2Fconfs%2F0306;h=ec18055ad5395161c3dbce00726bb940c7d9e3af;hb=6d9b05ae272ca2122b48451c317d601e449af932;hp=a6bf031a99e880bba2fa519261ef025b84965aff;hpb=a08c49f10dbed682e0500e6510c78bd65002fc34;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/test/confs/0306 b/test/confs/0306 index a6bf031a9..ec18055ad 100644 --- a/test/confs/0306 +++ b/test/confs/0306 @@ -1,12 +1,8 @@ # Exim test configuration 0306 -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 ----- @@ -31,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 @@ -69,6 +66,7 @@ begin transports t1: driver = appendfile file = DIR/test-mail/$local_part + create_file = DIR/test-mail user = CALLER t2: