X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/9ba4af2b76958e076a0c002e53ead87ed7a47a68..afda344b580b54a4513569720aec3260cd5ba546:/test/confs/0085 diff --git a/test/confs/0085 b/test/confs/0085 new file mode 100644 index 000000000..c2a3ebe75 --- /dev/null +++ b/test/confs/0085 @@ -0,0 +1,57 @@ +# Exim test configuration 0085 + +exim_path = EXIM_PATH +host_lookup_order = bydns +primary_hostname = myhost.test.ex +rfc1413_query_timeout = 0s +spool_directory = DIR/spool +log_file_path = DIR/spool/log/%slog +gecos_pattern = "" +gecos_name = CALLER_NAME + +# ----- Main settings ----- + +domainlist local_domains = test.ex : \ + myhost.test.ex + + +# ----- Routers ----- + +begin routers + +smart1: + driver = manualroute + caseful_local_part + domains = smart.domain + local_parts = ${lookup{$domain}lsearch{DIR/aux-fixed/TESTNUM.data}{$value}} + route_list = * + senders = ${lookup{$domain}lsearch{DIR/aux-fixed/TESTNUM.data}{$value}} + verify_only + +fail_remote_domains: + driver = redirect + domains = ! +local_domains + allow_fail + data = :fail: unrouteable mail domain "$domain" + +smart2: + driver = accept + domains = test.ex + local_parts = ${lookup{$domain}lsearch{DIR/aux-fixed/TESTNUM.data}{$value}} + require_files = ${lookup{$domain.files}lsearch{DIR/aux-fixed/TESTNUM.data}{$value}} + retry_use_local_part + senders = ${lookup{$domain}lsearch{DIR/aux-fixed/TESTNUM.data}{$value}} + transport = dummy + verify_only + + +# ----- Transports ----- + +begin transports + +dummy: + driver = appendfile + user = CALLER + + +# End