Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0253 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | primary_hostname = myhost.test.ex | |
afda344b PH |
6 | spool_directory = DIR/spool |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
10 | ||
11 | # ----- Main settings ----- | |
12 | ||
13 | log_selector = +return_path_on_delivery | |
14 | trusted_users = CALLER | |
15 | remote_max_parallel = 1 | |
16 | ||
17 | ||
18 | # ----- Routers ----- | |
19 | ||
20 | begin routers | |
21 | ||
22 | r0: | |
23 | driver = accept | |
24 | senders = : | |
25 | transport = t0 | |
26 | ||
27 | r1: | |
28 | driver = accept | |
29 | senders = abc@x.y.z | |
30 | transport = t1 | |
31 | ||
32 | r2: | |
33 | driver = accept | |
34 | senders = xyz@x.y.z | |
35 | transport = t2 | |
36 | ||
37 | r3: | |
38 | driver = accept | |
39 | transport = t3 | |
40 | errors_to = lmn@myhost.test.ex | |
41 | ||
42 | ||
43 | # ----- Transports ----- | |
44 | ||
45 | begin transports | |
46 | ||
47 | t0: | |
48 | driver = appendfile | |
49 | file = DIR/test-mail/$local_part | |
50 | user = CALLER | |
51 | ||
52 | t1: | |
53 | driver = appendfile | |
54 | batch_max = 100 | |
55 | file = DIR/test-mail/t1 | |
56 | return_path = modified@x.y.z | |
57 | use_bsmtp | |
58 | user = CALLER | |
59 | ||
60 | t2: | |
61 | driver = appendfile | |
62 | file = DIR/test-mail/t2 | |
63 | return_path = abc=$local_part+$domain@verp.domain | |
64 | use_bsmtp | |
65 | user = CALLER | |
66 | ||
67 | t3: | |
68 | driver = smtp | |
69 | hosts = 127.0.0.1 | |
70 | port = PORT_S | |
71 | max_rcpt = 1 | |
72 | allow_localhost | |
73 | return_path = pqr=$local_part+$domain@verp.domain | |
74 | ||
75 | ||
76 | # End |