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