os_getcwd(): do not realloc if there was no malloc().
[exim.git] / test / confs / 0900
index 2eaf01ee3e661070ff9518388be7eba3ee037bbe..e02380f73694e637ca9116012bc5589742c3a6f5 100644 (file)
@@ -1,6 +1,6 @@
 # Exim test configuration 0900
 SERVER=
 # Exim test configuration 0900
 SERVER=
-Y=
+SRV=
 LIST=
 ALLOW=
 
 LIST=
 ALLOW=
 
@@ -12,7 +12,7 @@ log_file_path = DIR/spool/log/SERVER%slog
 gecos_pattern = ""
 gecos_name = CALLER_NAME
 chunking_advertise_hosts = *
 gecos_pattern = ""
 gecos_name = CALLER_NAME
 chunking_advertise_hosts = *
-tls_advertise_hosts = ${if eq {Y}{tls} {*}}
+tls_advertise_hosts = ${if eq {SRV}{tls} {*}}
 
 
 # ----- Main settings -----
 
 
 # ----- Main settings -----
@@ -28,8 +28,10 @@ queue_only
 smtp_receive_timeout = 2s
 log_selector = +received_recipients
 
 smtp_receive_timeout = 2s
 log_selector = +received_recipients
 
+.ifdef _OPT_MAIN_TLS_CERTIFICATE
 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+.endif
 
 ALLOW
 
 
 ALLOW
 
@@ -50,7 +52,6 @@ check_data:
   warn   message = X-acl-message-linecount: $message_linecount
   accept
 
   warn   message = X-acl-message-linecount: $message_linecount
   accept
 
-
 # ----- Routers -----
 
 begin routers
 # ----- Routers -----
 
 begin routers