summaryrefslogtreecommitdiff
path: root/test/confs/2202
blob: 64c638d9a9c34f64f829b7e0c1975e6e082a1ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Exim test configuration 2202

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

# ----- Main settings -----

acl_smtp_vrfy = vrfy
acl_smtp_rcpt = rcpt
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 : \
    $sender_address_domain : \
    ${lookup dnsdb{>:defer_never,mxh=$sender_address_domain}}

# End