git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cutthrough: logging of return_path
[exim.git]
/
test
/
confs
/
1148
diff --git
a/test/confs/1148
b/test/confs/1148
index f521785fcd2e3f19b5e15be15a96176834f44470..6a71e526639d1aebbd83bc61155c38da0dc1b44d 100644
(file)
--- a/
test/confs/1148
+++ b/
test/confs/1148
@@
-3,6
+3,7
@@
.include DIR/aux-var/tls_conf_prefix
primary_hostname = myhost.test.ex
.include DIR/aux-var/tls_conf_prefix
primary_hostname = myhost.test.ex
+log_selector = +received_recipients
# ----- Main settings -----
# ----- Main settings -----
@@
-18,6
+19,7
@@
queue_only
queue_run_in_order
acl_smtp_atrn = check_atrn
queue_run_in_order
acl_smtp_atrn = check_atrn
+acl_smtp_rcpt = accept
# ----- ACL -----
# ----- ACL -----
@@
-42,23
+44,42
@@
plain:
${if and {{eq{$auth2}{userx}}{eq{$auth3}{secret}}}{yes}{no}}"
server_set_id = $auth2
${if and {{eq{$auth2}{userx}}{eq{$auth3}{secret}}}{yes}{no}}"
server_set_id = $auth2
+ client_send = ^userx^secret
+
# -------- routers ---
begin routers
# -------- routers ---
begin routers
-
client
:
+
to_customer
:
driver = manualroute
driver = manualroute
+ condition = ${if eq {$atrn_mode}{P}}
route_data = <;$atrn_host
self = send
route_data = <;$atrn_host
self = send
- transport = client_smtp
+ transport = call_customer
+
+to_provider:
+ driver = manualroute
+ condition = ${if eq {$atrn_mode}{C}}
+ route_data = <;$domain
+ self = send
+ transport = call_provider
+
+# -------- transports ---
begin transports
begin transports
-client_smtp:
- driver = smtp
- allow_localhost
- hosts_require_tls = *
- tls_verify_certificates = DIR/aux-fixed/cert1
- tls_verify_cert_hostnames = :
+call_customer:
+ driver = smtp
+ allow_localhost
+ hosts_require_tls = *
+ tls_verify_certificates = DIR/aux-fixed/cert1
+ tls_verify_cert_hostnames = :
+
+call_provider:
+ driver = smtp
+ port = PORT_D2
+ hosts_try_auth = *
+ tls_verify_certificates =
+ command_timeout = 10m
# End
# End