72d9a291a108cfdd9581027ca30e3100bbce76ce
[exim.git] / test / confs / 0335
1 # Exim test configuration 0335
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
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 qualify_domain = test.ex
14
15
16 # ----- Routers -----
17
18 begin routers
19
20 r1:
21   driver = redirect
22   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
23
24 r2:
25   driver = accept
26   transport = ${if match{$local_part}{^batch}{t2}{t1}}
27
28
29 # ----- Transports -----
30
31 begin transports
32
33 t1:
34   driver = appendfile
35   file = DIR/test-mail/$local_part
36   user = CALLER
37   envelope_to_add
38
39 t2:
40   driver = appendfile
41   file = DIR/test-mail/batch
42   user = CALLER
43   envelope_to_add
44   batch_max = 10
45
46
47 # End