diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-06-24 00:04:13 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-06-24 15:23:33 +0100 |
commit | bec94709e708f087fe7fa456bec95d4e63edc3ed (patch) | |
tree | ff17ef17917c21e12e023a58244dbdae4ec3f135 /test/confs/4620 | |
parent | 99bfcf2b678e7bd8125a7eb44409e46549bfc111 (diff) |
Handle quoted local_part input to ${srs_encode }. Bug 2607
Diffstat (limited to 'test/confs/4620')
-rw-r--r-- | test/confs/4620 | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/test/confs/4620 b/test/confs/4620 index 26906e7c7..ad115c962 100644 --- a/test/confs/4620 +++ b/test/confs/4620 @@ -11,19 +11,29 @@ acl_smtp_rcpt = accept domainlist local_domains = test.ex domainlist remotesite_domains = remote.ex -log_selector = +all_parents +received_recipients +log_selector = +all_parents +received_recipients +return_path_on_delivery queue_only # ----- Routers ----- begin routers +.ifdef CONTROL remote_bouncer: driver = redirect condition = ${if eq {$sender_host_address}{127.0.0.1}} data = :fail: account disabled allow_fail +bounce_return: + driver = manualroute + domains = +local_domains + senders = : + route_list = test.ex 127.0.0.1::PORT_S + self = send + transport = to_external +.endif + external: driver = manualroute domains = !+local_domains @@ -32,6 +42,7 @@ external: transport = ${if eq {$local_part@$domain} {$original_local_part@$original_domain} \ {to_external} {forwarded_external}} +.ifndef CONTROL inbound_srs: driver = redirect senders = : @@ -48,7 +59,7 @@ inbound_srs_failure: condition = ${if inbound_srs {$local_part} {}} allow_fail data = :fail: Invalid SRS recipient address - +.endif local_redirect: driver = redirect |