Testsuite: guard configs for no-PRDR build
[exim.git] / test / confs / 0901
index c2eb5cca64d584c276f9621a220b1c62f9b66ea0..36a2fddac5b07ca884496ab24858f26aefe9cecd 100644 (file)
@@ -14,6 +14,13 @@ gecos_name = CALLER_NAME
 chunking_advertise_hosts = *
 tls_advertise_hosts = ${if eq {SRV}{tls} {*}}
 
+.ifdef _HAVE_DMARC
+dmarc_tld_file =
+.endif
+.ifdef _OPT_MAIN_LIMITS_ADVERTISE_HOSTS
+limits_advertise_hosts = !*
+.endif
+
 pipelining_advertise_hosts = :
 
 # ----- Main settings -----
@@ -22,7 +29,9 @@ primary_hostname = testhost.test.ex
 domainlist local_domains = @ : test.ex
 
 acl_smtp_rcpt = check_recipient
+.ifdef _HAVE_PRDR
 acl_smtp_data_prdr = check_prdr
+.endif
 acl_smtp_data = check_data
 trusted_users = CALLER
 queue_only
@@ -84,6 +93,7 @@ local_delivery:
   delivery_date_add
   envelope_to_add
   file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   headers_add = "X-body-linecount: $body_linecount\n\
                  X-message-linecount: $message_linecount\n\
                  X-received-count: $received_count"
@@ -93,6 +103,7 @@ remote_smtp:
   driver = smtp
   hosts =      127.0.0.1
   port =       PORT_S
+  hosts_try_fastopen = :
   allow_localhost
   command_timeout = 2s
   final_timeout = 2s
@@ -101,6 +112,7 @@ remote_smtp_dkim:
   driver = smtp
   hosts =      127.0.0.1
   port =       PORT_S
+  hosts_try_fastopen = :
   allow_localhost
   command_timeout = 2s
   final_timeout = 2s