X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/3857519629ca8fbcf3466c3fc761a5bb6ed32d53..a1ebfb2e46e13ee87afc91856a4af38175735d74:/test/confs/2202 diff --git a/test/confs/2202 b/test/confs/2202 index 64c638d9a..7a1ddcbc8 100644 --- a/test/confs/2202 +++ b/test/confs/2202 @@ -10,6 +10,10 @@ acl_smtp_vrfy = vrfy acl_smtp_rcpt = rcpt 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 @@ -29,9 +33,6 @@ vrfy: .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