c57c8c7966409c8f10f0f78931373703a13ffd46
[users/jgh/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 tls_advertise_hosts =
12
13 # ----- Main settings -----
14
15 acl_not_smtp = check_rcpt
16 queue_only
17
18 begin acl
19
20 check_rcpt:
21   warn
22         set acl_m1 =    ${map {<,$recipients} \
23                                 {${lookup dnsdb{a=${domain:$item}}{$value}fail}}}
24         delay =         4s
25         set acl_m1 =    ${map {<,$recipients} \
26                                 {${lookup dnsdb{a=${domain:$item}}{$value}fail}}}
27   accept
28
29 # End