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