Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0111 |
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 | qualify_domain = test.ex | |
13 | ||
14 | ||
15 | # ----- Routers ----- | |
16 | ||
17 | begin routers | |
18 | ||
19 | alias: | |
20 | driver = redirect | |
21 | allow_defer | |
22 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}} | |
23 | errors_to = postmaster@test.ex | |
24 | headers_add = X-Alias: $local_part | |
25 | retry_use_local_part | |
26 | ||
27 | forward: | |
28 | driver = redirect | |
29 | check_ancestor | |
30 | no_check_local_user | |
31 | file = DIR/aux-fixed/TESTNUM.forward | |
32 | headers_add = X-Forward: $local_part | |
33 | headers_remove = Remove | |
34 | retry_use_local_part | |
35 | ||
36 | deliver: | |
37 | driver = accept | |
38 | local_parts = userx : postmaster | |
39 | retry_use_local_part | |
40 | transport = appendfile | |
41 | ||
42 | ||
43 | # ----- Transports ----- | |
44 | ||
45 | begin transports | |
46 | ||
47 | appendfile: | |
48 | driver = appendfile | |
49 | envelope_to_add | |
50 | file = DIR/test-mail/$local_part | |
51 | user = CALLER | |
52 | ||
53 | ||
54 | # End |