Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0210 |
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 | domainlist local_domains = test.ex | |
13 | ||
14 | qualify_domain = test.ex | |
15 | ||
16 | ||
17 | ||
18 | # ----- Routers ----- | |
19 | ||
20 | begin routers | |
21 | ||
22 | file: | |
23 | driver = accept | |
24 | local_parts = file | |
25 | retry_use_local_part | |
26 | transport = bsmtp_local_delivery | |
27 | ||
28 | pipe: | |
29 | driver = accept | |
30 | local_parts = pipe | |
31 | retry_use_local_part | |
32 | transport = bsmtp_pipe_delivery | |
33 | ||
34 | smtp: | |
35 | driver = accept | |
36 | local_parts = smtp | |
37 | retry_use_local_part | |
38 | transport = bsmtp_smtp | |
39 | ||
40 | ||
41 | # ----- Transports ----- | |
42 | ||
43 | begin transports | |
44 | ||
45 | bsmtp_local_delivery: | |
46 | driver = appendfile | |
47 | use_bsmtp | |
48 | message_prefix = "HELO x.y.z\n" | |
49 | delivery_date_add | |
50 | envelope_to_add | |
51 | file = DIR/test-mail/$local_part | |
52 | return_path_add | |
53 | user = CALLER | |
54 | ||
55 | bsmtp_pipe_delivery: | |
56 | driver = pipe | |
57 | use_bsmtp | |
58 | command = /bin/sh -c 'cat >DIR/test-mail/pipe' | |
59 | delivery_date_add | |
60 | envelope_to_add | |
61 | return_path_add | |
62 | user = CALLER | |
63 | ||
64 | bsmtp_smtp: | |
65 | driver = smtp | |
66 | allow_localhost | |
67 | hosts = 127.0.0.1 | |
68 | port = PORT_S | |
69 | ||
70 | ||
71 | # ----- Retry ----- | |
72 | ||
73 | ||
74 | # End |