# Exim test configuration 0103 .include DIR/aux-var/std_conf_prefix # ----- Main settings ----- domainlist local_domains = test.ex : special log_selector = +all_parents qualify_domain = test.ex # ----- Rewrite ----- begin rewrite \N^WAS...@x\.y\.zwas$ rewritten@x.y.z # ----- Routers ----- begin routers special: driver = redirect allow_defer allow_fail data = $local_part domains = special retry_use_local_part accept: driver = accept local_parts = CALLER : wasabcwas : rewritten retry_use_local_part transport = appendfile test_no_rewrite: driver = redirect data = WAS${local_part}WAS local_parts = abc@x.y.z no_rewrite test_rewrite: driver = redirect data = WAS${local_part}WAS local_parts = xyz@x.y.z # ----- Transports ----- begin transports appendfile: driver = appendfile file = DIR/test-mail/$local_part user = CALLER # ----- Retry ----- begin retry * * F,5d,1d # End