Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0380 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | primary_hostname = myhost.test.ex | |
afda344b PH |
6 | spool_directory = DIR/spool |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
10 | ||
11 | # ----- Main settings ----- | |
12 | ||
13 | domainlist local_domains = test.ex | |
14 | ||
15 | ||
16 | # ----- Routers ----- | |
17 | ||
18 | begin routers | |
19 | ||
20 | # This isn't part of this test per se; it's just a check for a bug | |
21 | # that got fixed (crashing when debugging a forced fail in address_data). | |
22 | # The router will always decline. | |
23 | ||
24 | r0: | |
25 | driver = accept | |
26 | address_data = ${if eq {a}{b}{x}fail} | |
27 | transport = t1 | |
28 | ||
29 | r1: | |
30 | driver = redirect | |
31 | local_parts = aaaa | |
32 | file = DIR/non-exist/$local_part | |
33 | ||
34 | r2: | |
35 | driver = redirect | |
36 | local_parts = bbbb | |
37 | ignore_enotdir | |
38 | file = DIR/non-exist/$local_part | |
39 | ||
40 | r3: | |
41 | driver = accept | |
42 | transport = t1 | |
43 | ||
44 | # ----- Transports ----- | |
45 | ||
46 | begin transports | |
47 | ||
48 | t1: | |
49 | driver = appendfile | |
50 | file = DIR/test-mail/$local_part | |
51 | user = CALLER | |
52 | ||
53 | ||
54 | # ----- Retry ----- | |
55 | ||
56 | begin retry | |
57 | ||
58 | * * F,5d,10s | |
59 | ||
60 | ||
61 | # End |