Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0374 |
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 | domainlist local_domains = test.ex : *.test.ex | |
16 | remote_max_parallel = 1 | |
17 | ||
18 | ||
19 | # ----- Routers ----- | |
20 | ||
21 | begin routers | |
22 | ||
23 | u1: | |
24 | driver = accept | |
25 | local_parts = ^a\\d | |
26 | transport = ut1 | |
27 | unseen | |
28 | ||
29 | ut2: | |
30 | driver = accept | |
31 | local_parts = ^b\\d | |
32 | transport = ut2 | |
33 | unseen | |
34 | ||
35 | ut3: | |
36 | driver = accept | |
37 | local_parts = ^c\\d | |
38 | transport = ut3 | |
39 | unseen | |
40 | ||
41 | ut4: | |
42 | driver = accept | |
43 | local_parts = ^d\\d | |
44 | transport = ut4 | |
45 | unseen | |
46 | ||
47 | real: | |
48 | driver = accept | |
49 | transport = real | |
50 | ||
51 | ||
52 | # ----- Transports ----- | |
53 | ||
54 | begin transports | |
55 | ||
56 | # Successful local transport | |
57 | ut1: | |
58 | driver = appendfile | |
59 | file = DIR/test-mail/$local_part-u | |
60 | user = CALLER | |
61 | return_path_add | |
62 | envelope_to_add | |
63 | ||
64 | # Hard unsuccessful local transport | |
65 | ||
66 | ut2: | |
67 | driver = pipe | |
68 | command = /non/existent/file | |
69 | user = CALLER | |
70 | ||
71 | # Soft unsuccessful local transport | |
72 | ||
73 | ut3: | |
74 | driver = pipe | |
75 | command = /non/existent/file | |
76 | temp_errors = * | |
77 | user = CALLER | |
78 | ||
79 | # Remote transport - all types | |
80 | ||
81 | ut4: | |
82 | driver = smtp | |
83 | hosts = 127.0.0.1 | |
84 | port = PORT_S | |
85 | allow_localhost | |
86 | max_rcpt = 1 | |
87 | ||
88 | # Real delivery | |
89 | real: | |
90 | driver = appendfile | |
91 | file = DIR/test-mail/$local_part | |
92 | user = CALLER | |
93 | return_path_add | |
94 | envelope_to_add | |
95 | ||
96 | ||
97 | # ----- Retry ----- | |
98 | ||
99 | ||
100 | begin retry | |
101 | ||
102 | * * F,5d,1d | |
103 | ||
104 | ||
105 | # End |