Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0194 |
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 | domainlist local_domains = test.ex : *.test.ex | |
14 | ||
15 | ||
16 | # ----- Routers ----- | |
17 | ||
18 | begin routers | |
19 | ||
20 | bounce: | |
21 | driver = accept | |
22 | retry_use_local_part | |
23 | senders = : | |
24 | transport = local_delivery | |
25 | ||
26 | all: | |
27 | driver = accept | |
28 | retry_use_local_part | |
29 | transport = pipe${if def:h_ret:{ret}} | |
30 | ||
31 | ||
32 | # ----- Transports ----- | |
33 | ||
34 | begin transports | |
35 | ||
36 | local_delivery: | |
37 | driver = appendfile | |
38 | file = DIR/test-mail/$local_part | |
39 | user = CALLER | |
40 | ||
41 | pipe: | |
42 | driver = pipe | |
43 | batch_max = 3 | |
44 | command = /bin/echo This is some returned text. | |
45 | return_output | |
46 | user = CALLER | |
47 | ||
48 | piperet: | |
49 | driver = pipe | |
50 | batch_max = 100 | |
51 | command = DIR/aux-fixed/TESTNUM.ret $h_ret: | |
52 | return_fail_output | |
53 | user = CALLER | |
54 | ||
55 | ||
56 | # ----- Retry ----- | |
57 | ||
58 | ||
59 | begin retry | |
60 | ||
61 | * * F,5d,1d | |
62 | ||
63 | ||
64 | # End |