Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0284 |
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 | qualify_domain = test.ex | |
14 | ||
15 | ||
16 | # ----- Routers ----- | |
17 | ||
18 | begin routers | |
19 | ||
20 | all: | |
21 | driver = accept | |
22 | address_data = ${if match{$local_part}{^(.)}{$1}} | |
23 | transport = ${if match{$local_part}{^.*-(.*)\$}{$1}fail} | |
24 | ||
25 | ||
26 | # ----- Transports ----- | |
27 | ||
28 | begin transports | |
29 | ||
30 | t1: | |
31 | driver = appendfile | |
32 | batch_max = 100 | |
33 | file = DIR/test-mail/batched | |
34 | envelope_to_add | |
35 | user = CALLER | |
36 | ||
37 | t2: | |
38 | driver = appendfile | |
39 | batch_max = 100 | |
40 | file = DIR/test-mail/$local_part | |
41 | envelope_to_add | |
42 | user = CALLER | |
43 | ||
44 | t3: | |
45 | driver = appendfile | |
46 | batch_max = 100 | |
47 | file = DIR/test-mail/$domain | |
48 | envelope_to_add | |
49 | user = CALLER | |
50 | ||
51 | t4: | |
52 | driver = appendfile | |
53 | batch_max = 100 | |
54 | batch_id = $address_data | |
55 | file = DIR/test-mail/batched | |
56 | envelope_to_add | |
57 | user = CALLER | |
58 | ||
59 | # ----- Retry ----- | |
60 | ||
61 | begin retry | |
62 | ||
63 | * * F,1d,1d | |
64 | ||
65 | # End |