Commit | Line | Data |
---|---|---|
afda344b | 1 | # Exim test configuration 2200 |
14b3c5bc | 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 | |
11 | ||
14b3c5bc JH |
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 | ||
afda344b | 28 | # End |