X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/4fab92fbc2b63bac2d89c1dae69fa1845cb640b7..982854f86c4acc7779b6b65094ba557a9fcd50d6:/test/confs/2202 diff --git a/test/confs/2202 b/test/confs/2202 index 825be913e..7a1ddcbc8 100644 --- a/test/confs/2202 +++ b/test/confs/2202 @@ -1,25 +1,38 @@ # 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 +# need to use this sublist due to taint +hostlist goodhosts = *.$sender_address_domain : $sender_address_domain : \ + ${lookup dnsdb{>:defer_never,mxh=$sender_address_domain}} + +.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 : \ - $sender_address_domain : \ - ${lookup dnsdb{>:defer_never,mxh=$sender_address_domain}} + accept hosts = +ignore_unknown : +goodhosts # End