Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0324 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | primary_hostname = myhost.test.ex | |
afda344b 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 | ||
13 | ||
14 | # ----- Routers ----- | |
15 | ||
16 | begin routers | |
17 | ||
18 | r1: | |
19 | driver = accept | |
20 | transport = t1 | |
21 | headers_add = X-match: ${if match{$message_headers}{final}{YES}{NO}}\n\ | |
22 | Y-match: ${if match{$h_X-Long:}{final}{YES}{NO}}\n\ | |
23 | Z-match: ${if match{$h_X-LONG:}{another}{YES}{NO}} | |
24 | ||
25 | ||
26 | # ----- Transports ----- | |
27 | ||
28 | begin transports | |
29 | ||
30 | t1: | |
31 | driver = appendfile | |
32 | file = DIR/test-mail/$local_part | |
33 | user = CALLER | |
34 | ||
35 | # End |