# Exim test configuration 2501
-exim_path = EXIM_PATH
-keep_environment =
-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
-tls_advertise_hosts =
# ----- Main settings -----
begin routers
r1:
- driver = accept
- domains = +local_domains
- transport = t1
-
+ driver = accept
+ domains = +local_domains
+ transport = t1
+
+virtual:
+ driver = redirect
+ domains = *.virt.test.ex
+ address_data = ${lookup {TESTNUM.alias.${extract {1}{.}{$domain}}} \
+ dsearch{DIR/aux-fixed} {$value}fail}
+ data = ${lookup{$local_part}lsearch{DIR/aux-fixed/$address_data}}
+ no_more
# ------ Transports ------