Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0135 |
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 | domainlist local_domains = test.ex | |
13 | ||
14 | qualify_domain = test.ex | |
15 | ignore_bounce_errors_after = 0s | |
16 | admin_groups = CALLER | |
17 | remote_max_parallel = 1 | |
18 | ||
19 | ||
20 | # ----- Routers ----- | |
21 | ||
22 | begin routers | |
23 | ||
24 | default: | |
25 | driver = manualroute | |
26 | domains = ! +local_domains | |
27 | route_list = "known.ex V4NET.0.0.0 byname;\ | |
28 | * V4NET.0.0.1 byname" | |
29 | transport = smtp | |
30 | no_more | |
31 | ||
32 | null: | |
33 | driver = redirect | |
34 | allow_defer | |
35 | condition = ${if eq {$sender_address}{}{yes}{no}} | |
36 | data = :blackhole: | |
37 | retry_use_local_part | |
38 | ||
39 | smart: | |
40 | driver = accept | |
41 | retry_use_local_part | |
42 | transport = local_delivery | |
43 | ||
44 | ||
45 | # ----- Transports ----- | |
46 | ||
47 | begin transports | |
48 | ||
49 | smtp: | |
50 | driver = smtp | |
51 | connect_timeout = 1s | |
52 | ||
53 | local_delivery: | |
54 | driver = appendfile | |
55 | file = DIR/test-mail/$local_part | |
56 | quota = 20 | |
57 | user = CALLER | |
58 | ||
59 | ||
60 | # ----- Retry ----- | |
61 | ||
62 | # Note that these retry rules are not sensible! However, they serve to make | |
63 | # Exim behave as required in order to run this test. It does not normally make | |
64 | # sense to have the time limit on the second rule shorter than the first, | |
65 | # because that means the second rule will never actually be used for retries. | |
66 | # However, Exim uses the time limit on the final rule to check for the ultimate | |
67 | # address retry, so what we have here is a total kludge! | |
68 | ||
69 | begin retry | |
70 | ||
71 | d@test.ex quota F,1d,15m; F,7s,1s | |
72 | * quota F,1h,10s; F,1s,1s | |
73 | known.ex * F,1h,10s; F,1s,1s | |
74 | special * F,30d,1h | |
75 | * * F,1d,15m; F,8s,1s | |
76 | ||
77 | ||
78 | # End |