summaryrefslogtreecommitdiff
path: root/test/confs/2202
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-12-28 19:39:06 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2022-12-28 21:15:04 +0000
commit1d38781da934809e6ce0b8c3718c4b3bccdfe1d2 (patch)
tree7fa3183264528da4c4bc0b3a776fae142d9e49eb /test/confs/2202
parent2b7e98456504911562b1b5aca7fa94492bbe5204 (diff)
Fix recursion on dns_again_means_nonexist. Bug 2911
Diffstat (limited to 'test/confs/2202')
-rw-r--r--test/confs/220218
1 files changed, 15 insertions, 3 deletions
diff --git a/test/confs/2202 b/test/confs/2202
index 825be913e..64c638d9a 100644
--- a/test/confs/2202
+++ b/test/confs/2202
@@ -1,21 +1,33 @@
# Exim test configuration 2202
-CONNECTCOND=
-
.include DIR/aux-var/std_conf_prefix
primary_hostname = myhost.test.ex
# ----- Main settings -----
+acl_smtp_vrfy = vrfy
acl_smtp_rcpt = rcpt
-dns_again_means_nonexist = *
disable_ipv6
+.ifdef DNS_RECURSE
+hosts_treat_as_local = test.again.dns
+domainlist try_again_dns_list = @mx_any
+dns_again_means_nonexist = !+try_again_dns_list
+# that last line tries to set up a recursion
+.else
+dns_again_means_nonexist = *
+.endif
+
# ----- ACL -----
begin acl
+vrfy:
+.ifdef DNS_RECURSE
+ warn domains = +try_again_dns_list
+.endif
+
rcpt:
accept hosts = +ignore_unknown : \
*.$sender_address_domain : \