Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0330 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b | 5 | host_lookup_order = bydns |
afda344b PH |
6 | spool_directory = DIR/spool |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
23f3dc67 | 10 | tls_advertise_hosts = |
afda344b PH |
11 | |
12 | # ----- Main settings ----- | |
13 | ||
14 | qualify_domain = test.ex | |
15 | ||
16 | ||
17 | # ----- Routers ----- | |
18 | ||
19 | begin routers | |
20 | ||
21 | alias: | |
22 | driver = redirect | |
23 | data = ${if eq {$local_part}{UserY}{userz1}\ | |
24 | {${if eq {$local_part}{usery}{userz2}{}}}} | |
25 | caseful_local_part | |
26 | ||
27 | forward: | |
28 | driver = redirect | |
29 | check_ancestor | |
30 | no_check_local_user | |
31 | file = DIR/aux-fixed/TESTNUM.forward | |
32 | ||
33 | deliver: | |
34 | driver = accept | |
35 | local_parts = ^userz | |
36 | transport = appendfile | |
37 | ||
38 | ||
39 | # ----- Transports ----- | |
40 | ||
41 | begin transports | |
42 | ||
43 | appendfile: | |
44 | driver = appendfile | |
45 | envelope_to_add | |
46 | file = DIR/test-mail/$local_part | |
47 | user = CALLER | |
48 | ||
49 | ||
50 | # End |