Manualroute: use same host for all RCPTs of a message, even under hosts_randomize...
[exim.git] / test / confs / 2200
1 # Exim test configuration 2200
2 # Check for dnsdb cache TTL handling
3
4 exim_path = EXIM_PATH
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 acl_not_smtp = check_rcpt
15 queue_only
16
17 begin acl
18
19 check_rcpt:
20   warn
21         set acl_m1 =    ${map {<,$recipients} \
22                                 {${lookup dnsdb{a=${domain:$item}}{$value}fail}}}
23         delay =         4s
24         set acl_m1 =    ${map {<,$recipients} \
25                                 {${lookup dnsdb{a=${domain:$item}}{$value}fail}}}
26   accept
27
28 # End