SECURITY: Leave a clean smtp_out input buffer even in case of read error
[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_smtp_rcpt = check_rcpt
11 acl_not_smtp = check_not_smtp
12 queue_only
13
14 begin acl
15
16 check_rcpt:
17   accept
18         local_parts =   defer_strict
19         set acl_m1 =    ${lookup dnsdb{defer_strict,a=$domain}}
20
21 check_not_smtp:
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