X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/9ba4af2b76958e076a0c002e53ead87ed7a47a68..afda344b580b54a4513569720aec3260cd5ba546:/test/confs/0135 diff --git a/test/confs/0135 b/test/confs/0135 new file mode 100644 index 000000000..233d48b4c --- /dev/null +++ b/test/confs/0135 @@ -0,0 +1,79 @@ +# Exim test configuration 0135 + +exim_path = EXIM_PATH +host_lookup_order = bydns +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 + +qualify_domain = test.ex +ignore_bounce_errors_after = 0s +admin_groups = CALLER +remote_max_parallel = 1 + + +# ----- Routers ----- + +begin routers + +default: + driver = manualroute + domains = ! +local_domains + route_list = "known.ex V4NET.0.0.0 byname;\ + * V4NET.0.0.1 byname" + transport = smtp + no_more + +null: + driver = redirect + allow_defer + condition = ${if eq {$sender_address}{}{yes}{no}} + data = :blackhole: + retry_use_local_part + +smart: + driver = accept + retry_use_local_part + transport = local_delivery + + +# ----- Transports ----- + +begin transports + +smtp: + driver = smtp + connect_timeout = 1s + +local_delivery: + driver = appendfile + file = DIR/test-mail/$local_part + quota = 20 + user = CALLER + + +# ----- Retry ----- + +# Note that these retry rules are not sensible! However, they serve to make +# Exim behave as required in order to run this test. It does not normally make +# sense to have the time limit on the second rule shorter than the first, +# because that means the second rule will never actually be used for retries. +# However, Exim uses the time limit on the final rule to check for the ultimate +# address retry, so what we have here is a total kludge! + +begin retry + +d@test.ex quota F,1d,15m; F,7s,1s +* quota F,1h,10s; F,1s,1s +known.ex * F,1h,10s; F,1s,1s +special * F,30d,1h +* * F,1d,15m; F,8s,1s + + +# End