LibreSSL: fixes pulled from OpenBSD patchset
[exim.git] / test / confs / 0639
index fb32197346559846eb20f71b771eb6473f1b078e..7d061dd0d8edea0bbbe8edf8e4f1b1069b89d76f 100644 (file)
@@ -48,19 +48,37 @@ plain:
     ${if and {{eq{$auth2}{userx}}{eq{$auth3}{secret}}}{yes}{no}}"
   server_set_id = $auth2
 
+  client_send = ^userx^secret
+
 # -------- routers ---
 
 begin routers
 
-client:
+to_customer:
   driver =     manualroute
+  condition =  ${if eq {$atrn_mode}{P}}
   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
 
-client_smtp:
+call_customer:
   driver =     smtp
 
+call_provider:
+  driver =             smtp
+  port =               PORT_D2
+  hosts_require_auth = *
+  command_timeout =    10m
+
 # End