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