Commit | Line | Data |
---|---|---|
9b8fadde PH |
1 | # Exim test configuration 0533 |
2 | ||
9b8fadde PH |
3 | exim_path = EXIM_PATH |
4 | host_lookup_order = bydns | |
5 | primary_hostname = myhost.test.ex | |
9b8fadde 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 | ||
9b8fadde | 13 | |
9b8fadde | 14 | |
75758eeb PH |
15 | # ----- Routers ----- |
16 | ||
17 | begin routers | |
18 | ||
19 | r1: | |
20 | driver = redirect | |
21 | local_part_prefix = file- | |
22 | local_part_suffix = =* | |
23 | data = DIR/test-mail/${substr_1:$local_part_suffix} | |
24 | file_transport = t1 | |
25 | ||
26 | r2: | |
27 | driver = redirect | |
28 | local_part_prefix = pipe- | |
29 | local_part_suffix = =* | |
e2cebd74 | 30 | caseful_local_part = true |
75758eeb PH |
31 | data = |${substr_1:$local_part_suffix} |
32 | pipe_transport = t2 | |
33 | ||
34 | ||
35 | # ----- Transports ----- | |
36 | ||
37 | begin transports | |
38 | ||
39 | t1: | |
40 | driver = appendfile | |
41 | envelope_to_add | |
42 | user = CALLER | |
43 | batch_max = 10 | |
9b8fadde | 44 | |
75758eeb PH |
45 | t2: |
46 | driver = pipe | |
47 | user = CALLER | |
48 | batch_max = 10 | |
9b8fadde PH |
49 | |
50 | # End |