Routing: for efficiency, avoid complexifying the "condition" string until the second...
[users/jgh/exim.git] / test / confs / 2200
1 # Exim test configuration 2200
2 # Check for dnsdb cache TTL handling
3
4 .include DIR/aux-var/std_conf_prefix
5
6 primary_hostname = myhost.test.ex
7
8 # ----- Main settings -----
9
10 acl_not_smtp = check_rcpt
11 queue_only
12
13 begin acl
14
15 check_rcpt:
16   warn
17         set acl_m1 =    ${map {<,$recipients} \
18                                 {${lookup dnsdb{a=${domain:$item}}{$value}fail}}}
19         delay =         4s
20         set acl_m1 =    ${map {<,$recipients} \
21                                 {${lookup dnsdb{a=${domain:$item}}{$value}fail}}}
22   accept
23
24 # End