Commit | Line | Data |
---|---|---|
afda344b | 1 | # Exim test configuration 2200 |
bfe645c1 | 2 | # Check for dnsdb cache TTL handling |
afda344b PH |
3 | |
4 | exim_path = EXIM_PATH | |
5 | host_lookup_order = bydns | |
6 | primary_hostname = myhost.test.ex | |
afda344b PH |
7 | spool_directory = DIR/spool |
8 | log_file_path = DIR/spool/log/%slog | |
9 | gecos_pattern = "" | |
10 | gecos_name = CALLER_NAME | |
bfe645c1 JH |
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 | |
afda344b PH |
28 | |
29 | # End |