X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/bc3c7bb7d4aba3e563434e5627fe1f2176aa18c0..600dc06981df5a906125f8442c36056a117412d4:/test/confs/0614 diff --git a/test/confs/0614 b/test/confs/0614 index 4d90095a7..eec6d3259 100644 --- a/test/confs/0614 +++ b/test/confs/0614 @@ -1,21 +1,57 @@ # Exim test configuration 0614 -# hosts_connection_nolog versus sender_host lists caching - -exim_path = EXIM_PATH -keep_environment = -host_lookup_order = bydns -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 = +# Add several messages going to the same location +# And change smtp output based on senders domain + +hostlist loopback = <; 127.0.0.0/8 ; 0.0.0.0 ; ::1 ; 0000:0000:0000:0000:0000:ffff +untrusted_set_sender = * + +SERVER = + +.include DIR/aux-var/std_conf_prefix + +rfc1413_query_timeout = 0s +log_selector = +sender_on_delivery # ----- Main settings ----- -log_selector = +smtp_connection -hostlist nolog = 127.0.0.1 -hosts_connection_nolog = +nolog +acl_smtp_rcpt = accept + queue_only +queue_run_in_order + +# ----- Routers ----- + +begin routers + +client: + driver = accept + condition = ${if eq {SERVER}{server}{no}{yes}} + transport = send_to_server + +server: + driver = accept + transport = send_to_server + + +# ----- Transports ----- + +begin transports + +send_to_server: + driver = smtp + connection_max_messages = 0 + allow_localhost + hosts = 127.0.0.1 + port = PORT_D + hosts_try_fastopen = : + # assumes that HOSTIPV4 can send to 127.0.0.1 + interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{HOSTIPV4}} + +# ----- Retry ----- + +begin retry + +* * F,5d,10s # End +