Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0335 |
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 | qualify_domain = test.ex | |
10 | ||
11 | ||
12 | # ----- Routers ----- | |
13 | ||
14 | begin routers | |
15 | ||
16 | r1: | |
17 | driver = redirect | |
18 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}} | |
19 | ||
20 | r2: | |
21 | driver = accept | |
22 | transport = ${if match{$local_part}{^batch}{t2}{t1}} | |
23 | ||
24 | ||
25 | # ----- Transports ----- | |
26 | ||
27 | begin transports | |
28 | ||
29 | t1: | |
30 | driver = appendfile | |
31 | file = DIR/test-mail/$local_part | |
32 | user = CALLER | |
33 | envelope_to_add | |
34 | ||
35 | t2: | |
36 | driver = appendfile | |
37 | file = DIR/test-mail/batch | |
38 | user = CALLER | |
39 | envelope_to_add | |
40 | batch_max = 10 | |
41 | ||
42 | ||
43 | # End |