testcases for TLS
[users/jgh/exim.git] / test / confs / 0900
index 3235f1ee7f51137f9a3ac30e4b86cd2dd75af49f..245d9fa96450a5bf4c4b02a7b81bc70d505071f8 100644 (file)
@@ -1,6 +1,7 @@
 # Exim test configuration 0900
 SERVER=
 X=
+Y=
 OPT=
 
 exim_path = EXIM_PATH
@@ -11,7 +12,7 @@ log_file_path = DIR/spool/log/SERVER%slog
 gecos_pattern = ""
 gecos_name = CALLER_NAME
 chunking_advertise_hosts = *
-tls_advertise_hosts =
+tls_advertise_hosts = ${if eq {Y}{tls} {*}}
 
 
 # ----- Main settings -----
@@ -25,6 +26,8 @@ queue_only
 smtp_receive_timeout = 2s
 log_selector = +received_recipients
 
+tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
 
 # ----- ACL -----