X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/d1af83598f7d6b32516a11bb28e569d592a05c48..824ac9569a44ae411785f7ba2014d243e85b992d:/test/confs/2501 diff --git a/test/confs/2501 b/test/confs/2501 index 2fd56f130..61bf7383b 100644 --- a/test/confs/2501 +++ b/test/confs/2501 @@ -1,14 +1,8 @@ # 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 ----- @@ -20,10 +14,17 @@ domainlist local_domains = dsearch;DIR/aux-fixed/TESTNUM.domains 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 ------