Docs: example complex expansion for router domains condition
[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 .ifdef DNS_RECURSE
14 hosts_treat_as_local =          test.again.dns
15 domainlist try_again_dns_list = @mx_any
16 dns_again_means_nonexist =      !+try_again_dns_list
17 # that last line tries to set up a recursion
18 .else
19 dns_again_means_nonexist =      *
20 .endif
21
22 # ----- ACL -----
23
24 begin acl
25
26 vrfy:
27 .ifdef DNS_RECURSE
28   warn  domains = +try_again_dns_list
29 .endif
30
31 rcpt:
32   accept hosts = +ignore_unknown : \
33     *.$sender_address_domain : \
34     $sender_address_domain : \
35     ${lookup dnsdb{>:defer_never,mxh=$sender_address_domain}}
36
37 # End