Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0359 |
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 | r1: | |
20 | driver = accept | |
21 | transport = t1 | |
22 | ||
23 | ||
24 | # ----- Transports ----- | |
25 | ||
26 | begin transports | |
27 | ||
28 | t1: | |
29 | driver = appendfile | |
30 | file = /dev/null | |
31 | shadow_transport = t2 | |
32 | shadow_condition = ${if eq{$local_part}{userx}{yes}{no}} | |
33 | user = CALLER | |
34 | ||
35 | t2: | |
36 | driver = appendfile | |
37 | file = DIR/test-mail/$local_part | |
38 | headers_add = X-shadowed: | |
39 | user = CALLER | |
40 | ||
41 | ||
42 | # ----- Retry ----- | |
43 | ||
44 | begin retry | |
45 | ||
46 | * * F,3s,1s; G,1h,2s,2 | |
47 | ||
48 | # End |