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