diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-10-11 12:42:20 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-10-11 13:31:44 +0100 |
commit | 6bacc7090a4d219a48899c5b5b08b33f4811dc7f (patch) | |
tree | d52003a20c412ec92fe07468b318b8635fd6e55d /test/confs/0612 | |
parent | 2d432dfd22141f9933cac8ab3e26a8babaf87bef (diff) |
Testsuite: case-number shuffling
Diffstat (limited to 'test/confs/0612')
-rw-r--r-- | test/confs/0612 | 81 |
1 files changed, 67 insertions, 14 deletions
diff --git a/test/confs/0612 b/test/confs/0612 index 84260df65..da5b72f22 100644 --- a/test/confs/0612 +++ b/test/confs/0612 @@ -1,5 +1,6 @@ # Exim test configuration 0612 -# log_defer_output on pipe transport + +SERVER = .include DIR/aux-var/std_conf_prefix @@ -7,35 +8,87 @@ primary_hostname = myhost.test.ex # ----- Main settings ----- +.ifdef OPT +dsn_advertise_hosts = * +.endif +delay_warning = 6s : 24h + +accept_8bitmime = false +pipelining_advertise_hosts = : + +trusted_users = CALLER +acl_smtp_rcpt = rcpt + log_selector = +received_recipients +queue_only +queue_run_in_order + + +event_action = ${acl {ev_log}} + +# -#acl_smtp_rcpt = accept +begin acl + +ev_log: + accept logwrite = event $event_name + +rcpt: + accept hosts = HOSTIPV4 + + deny local_parts = rmt_reject + defer local_parts = rmt_defer + accept # ----- Routers ----- begin routers -client: +r_dump: + driver = redirect + domains = dump.ex + data = :blackhole: + +r1: driver = accept - transport = pipe + condition = ${if eq {127.0.0.1}{$sender_host_address}} + transport = tofile + +r2: + driver = manualroute + local_parts = ^rmt_.* + route_list = * 127.0.0.1::PORT_D + self = send + transport = smtp + +r3: + driver = manualroute + local_parts = deferred + route_list = * 127.0.0.1::PORT_S + self = send + transport = bad_tpt # ----- Transports ----- begin transports -pipe: - driver = pipe - temp_errors = * - command = perl -e "print 'Hi from pipe'; exit 5;" - log_defer_output = true - path = ${env{PATH}} +smtp: + driver = smtp + event_action = ${acl {ev_log}} + hosts_try_fastopen = : -# ----- Retry ----- +bad_tpt: + driver = smtp + connect_timeout = 1s + event_action = ${acl {ev_log}} +tofile: + driver = appendfile + file = DIR/test-mail/${bless:$local_part} + user = CALLER + event_action = ${acl {ev_log}} begin retry -* * F,1h,10m - - +* * F,2m,10s # End |