Testsuite: guard configs for no-PRDR build
[exim.git] / test / confs / 0901
index a1f391613e8a5ec1abf80dc242ba5fce9c4acaf2..36a2fddac5b07ca884496ab24858f26aefe9cecd 100644 (file)
@@ -17,6 +17,9 @@ 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 = :
 
@@ -26,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