Verifiable conn with DANE-EE(3) / SPKI(1) / SHA2-512(2)
[users/heiko/exim.git] / test / confs / 5850
index ac967fcb8b5242093de288947c1072fabbd4ef11..cd4ccc59f25c5668af69e2c5d5859c066778942e 100644 (file)
@@ -26,10 +26,7 @@ tls_advertise_hosts = *
 # Set certificate only if server
 
 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
 # Set certificate only if server
 
 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
-tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
-
-#tls_verify_hosts = *
-#tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
+#tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
 
 
 # ----- Routers -----
 
 
 # ----- Routers -----
@@ -37,9 +34,10 @@ tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
 begin routers
 
 client:
 begin routers
 
 client:
-  driver = accept
+  driver = dnslookup
   condition = ${if eq {SERVER}{server}{no}{yes}}
   condition = ${if eq {SERVER}{server}{no}{yes}}
-  retry_use_local_part
+  dnssec_request_domains = *
+  self = send
   transport = send_to_server
 
 server:
   transport = send_to_server
 
 server:
@@ -54,11 +52,10 @@ begin transports
 send_to_server:
   driver = smtp
   allow_localhost
 send_to_server:
   driver = smtp
   allow_localhost
-  hosts = 127.0.0.1
   port = PORT_D
   port = PORT_D
-#  tls_certificate = DIR/aux-fixed/cert2
-#  tls_privatekey = DIR/aux-fixed/cert2
-#  tls_verify_certificates = DIR/aux-fixed/cert2
+
+#  hosts_try_dane = *
+  hosts_require_dane = *
 
 
 # ----- Retry -----
 
 
 # ----- Retry -----