# 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 -----
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
t1:
driver = appendfile
file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t2: