Taint: reject or log more tainted list metadata elements
[exim.git] / test / confs / 2202
1 # Exim test configuration 2202
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 acl_smtp_vrfy = vrfy
10 acl_smtp_rcpt = rcpt
11 disable_ipv6
12
13 # need to use this sublist due to taint
14 hostlist goodhosts = *.$sender_address_domain : $sender_address_domain : \
15                       ${lookup dnsdb{>:defer_never,mxh=$sender_address_domain}}
16
17 .ifdef DNS_RECURSE
18 hosts_treat_as_local =          test.again.dns
19 domainlist try_again_dns_list = @mx_any
20 dns_again_means_nonexist =      !+try_again_dns_list
21 # that last line tries to set up a recursion
22 .else
23 dns_again_means_nonexist =      *
24 .endif
25
26 # ----- ACL -----
27
28 begin acl
29
30 vrfy:
31 .ifdef DNS_RECURSE
32   warn  domains = +try_again_dns_list
33 .endif
34
35 rcpt:
36   accept hosts = +ignore_unknown : +goodhosts
37
38 # End