X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/bc3c7bb7d4aba3e563434e5627fe1f2176aa18c0..4a65a58d21383c16258b669f57beddb4742fbb9b:/test/confs/0603 diff --git a/test/confs/0603 b/test/confs/0603 index 44dc86606..7e52e00c0 100644 --- a/test/confs/0603 +++ b/test/confs/0603 @@ -1,63 +1,41 @@ # Exim test configuration 0603 -# 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 = - -exim_path = EXIM_PATH -keep_environment = -host_lookup_order = bydns -#primary_hostname = myhost.test.ex -rfc1413_query_timeout = 0s -spool_directory = DIR/spool -log_file_path = DIR/spool/log/SERVER%slog -log_selector = +sender_on_delivery -gecos_pattern = "" -gecos_name = CALLER_NAME -tls_advertise_hosts = +# log_defer_output on pipe transport + +.include DIR/aux-var/std_conf_prefix + +primary_hostname = myhost.test.ex # ----- Main settings ----- -acl_smtp_rcpt = accept +log_selector = +received_recipients -queue_only -queue_run_in_order +#acl_smtp_rcpt = accept # ----- Routers ----- begin routers client: - driver = accept - condition = ${if eq {SERVER}{server}{no}{yes}} - transport = send_to_server - -server: - driver = accept - transport = send_to_server - + driver = accept + transport = pipe # ----- Transports ----- begin transports -send_to_server: - driver = smtp - connection_max_messages = 0 - allow_localhost - hosts = 127.0.0.1 - port = PORT_D - # assumes that HOSTIPV4 can send to 127.0.0.1 - interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{HOSTIPV4}} +pipe: + driver = pipe + temp_errors = * + command = perl -e "print 'Hi from pipe'; exit 5;" + log_defer_output = true + path = ${env{PATH}} # ----- Retry ----- + begin retry -* * F,5d,10s +* * F,1h,10m -# End +# End