# Exim test configuration 0135 exim_path = EXIM_PATH host_lookup_order = bydns spool_directory = DIR/spool log_file_path = DIR/spool/log/%slog gecos_pattern = "" gecos_name = CALLER_NAME tls_advertise_hosts = # ----- 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