Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0284 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b PH |
5 | host_lookup_order = bydns |
6 | primary_hostname = myhost.test.ex | |
afda344b PH |
7 | spool_directory = DIR/spool |
8 | log_file_path = DIR/spool/log/%slog | |
9 | gecos_pattern = "" | |
10 | gecos_name = CALLER_NAME | |
23f3dc67 | 11 | tls_advertise_hosts = |
afda344b PH |
12 | |
13 | # ----- Main settings ----- | |
14 | ||
15 | qualify_domain = test.ex | |
16 | ||
17 | ||
18 | # ----- Routers ----- | |
19 | ||
20 | begin routers | |
21 | ||
22 | all: | |
23 | driver = accept | |
24 | address_data = ${if match{$local_part}{^(.)}{$1}} | |
25 | transport = ${if match{$local_part}{^.*-(.*)\$}{$1}fail} | |
26 | ||
27 | ||
28 | # ----- Transports ----- | |
29 | ||
30 | begin transports | |
31 | ||
32 | t1: | |
33 | driver = appendfile | |
34 | batch_max = 100 | |
35 | file = DIR/test-mail/batched | |
36 | envelope_to_add | |
37 | user = CALLER | |
38 | ||
39 | t2: | |
40 | driver = appendfile | |
41 | batch_max = 100 | |
42 | file = DIR/test-mail/$local_part | |
43 | envelope_to_add | |
44 | user = CALLER | |
45 | ||
46 | t3: | |
47 | driver = appendfile | |
48 | batch_max = 100 | |
49 | file = DIR/test-mail/$domain | |
50 | envelope_to_add | |
51 | user = CALLER | |
52 | ||
53 | t4: | |
54 | driver = appendfile | |
55 | batch_max = 100 | |
56 | batch_id = $address_data | |
57 | file = DIR/test-mail/batched | |
58 | envelope_to_add | |
59 | user = CALLER | |
60 | ||
61 | # ----- Retry ----- | |
62 | ||
63 | begin retry | |
64 | ||
65 | * * F,1d,1d | |
66 | ||
67 | # End |