Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0120 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b | 5 | host_lookup_order = bydns |
afda344b PH |
6 | spool_directory = DIR/spool |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
23f3dc67 | 10 | tls_advertise_hosts = |
afda344b PH |
11 | |
12 | # ----- Main settings ----- | |
13 | ||
14 | acl_smtp_rcpt = check_recipient | |
15 | acl_smtp_data = check_message | |
16 | ||
17 | domainlist local_domains = test.ex | |
18 | qualify_domain = test.ex | |
19 | ||
20 | ||
21 | # ----- Routers ----- | |
22 | ||
23 | begin routers | |
24 | ||
25 | blackhole: | |
26 | driver = redirect | |
27 | allow_defer | |
28 | allow_fail | |
29 | data = :blackhole: | |
30 | local_parts = CALLER | |
31 | retry_use_local_part | |
32 | ||
33 | force_defer: | |
34 | driver = redirect | |
35 | allow_defer | |
36 | allow_fail | |
37 | condition = ${if < {$message_age}{2}{yes}{no}} | |
38 | data = :defer: forced defer | |
39 | retry_use_local_part | |
40 | ||
41 | force_fail: | |
42 | driver = redirect | |
43 | allow_defer | |
44 | allow_fail | |
45 | data = :fail: forced fail after $message_age seconds | |
46 | retry_use_local_part | |
47 | ||
48 | ||
49 | # ----- Retry ----- | |
50 | ||
51 | ||
52 | begin retry | |
53 | ||
54 | * * F,5d,1d | |
55 | ||
56 | ||
57 | # End |