Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 5050 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b | 5 | host_lookup_order = bydns |
afda344b PH |
6 | spool_directory = DIR/spool |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
23f3dc67 | 10 | tls_advertise_hosts = |
afda344b PH |
11 | |
12 | # ----- Main settings ----- | |
13 | ||
14 | domainlist local_domains = test.ex | |
15 | ||
16 | qualify_domain = test.ex | |
17 | ||
18 | ||
19 | # ----- Routers ----- | |
20 | ||
21 | begin routers | |
22 | ||
23 | localuser: | |
24 | driver = accept | |
25 | local_part_prefix = bsmtp_ : mmdf_ : mbx_ | |
26 | local_part_prefix_optional | |
27 | retry_use_local_part | |
28 | transport = ${local_part_prefix}local_delivery | |
29 | ||
30 | ||
31 | # ----- Transports ----- | |
32 | ||
33 | begin transports | |
34 | ||
35 | local_delivery: | |
36 | driver = appendfile | |
37 | delivery_date_add | |
38 | envelope_to_add | |
39 | file = DIR/test-mail/$local_part | |
40 | file_format = "From : local_delivery :\ | |
41 | *mbx*\r\n : mbx_local_delivery :\ | |
42 | tpmissing : tpmissing" | |
43 | return_path_add | |
44 | user = CALLER | |
45 | ||
46 | bsmtp_local_delivery: | |
47 | driver = appendfile | |
48 | batch_max = 100 | |
49 | use_bsmtp | |
50 | delivery_date_add | |
51 | envelope_to_add | |
52 | file = DIR/test-mail/$local_part | |
53 | return_path_add | |
54 | user = CALLER | |
55 | ||
56 | mbx_local_delivery: | |
57 | driver = appendfile | |
58 | check_string = | |
59 | delivery_date_add | |
60 | envelope_to_add | |
61 | file = DIR/test-mail/$local_part | |
62 | mbx_format | |
63 | message_prefix = | |
64 | return_path_add | |
65 | message_suffix = | |
66 | user = CALLER | |
67 | ||
68 | ||
69 | # ----- Retry ----- | |
70 | ||
71 | begin retry | |
72 | ||
73 | * * F,2d,2d | |
74 | ||
75 | # End |