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