Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0205 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | primary_hostname = myhost.test.ex | |
6 | rfc1413_query_timeout = 0s | |
7 | spool_directory = DIR/spool | |
8 | log_file_path = DIR/spool/log/%slog | |
9 | gecos_pattern = "" | |
10 | gecos_name = CALLER_NAME | |
11 | ||
12 | # ----- Main settings ----- | |
13 | ||
14 | domainlist local_domains = test.ex : \ | |
15 | testhack.test.ex : \ | |
16 | testhack2.test.ex | |
17 | ||
18 | percent_hack_domains = testhack.test.ex : \ | |
19 | testhack2.test.ex | |
20 | ||
21 | ||
22 | # ----- Routers ----- | |
23 | ||
24 | begin routers | |
25 | ||
26 | fail_remote_domains: | |
27 | driver = redirect | |
28 | domains = ! +local_domains | |
29 | allow_fail | |
30 | data = :fail: unrouteable mail domain "$domain" | |
31 | ||
32 | redirect: | |
33 | driver = redirect | |
34 | local_parts = redirect | |
35 | errors_to = postmaster@test.ex | |
36 | data = redirected%test.ex@testhack.test.ex | |
37 | address_data = $address_data-redirect | |
38 | ||
39 | local_domains: | |
40 | driver = accept | |
41 | transport = local_delivery | |
42 | ||
43 | ||
44 | # ----- Transports ----- | |
45 | ||
46 | begin transports | |
47 | ||
48 | local_delivery: | |
49 | driver = appendfile | |
50 | file = DIR/test-mail/$local_part | |
51 | user = CALLER | |
52 | headers_add = Address-Data: >$address_data< | |
53 | ||
54 | ||
55 | # End |