Add test skeleton
[users/jgh/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 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 qualify_domain = test.ex
15
16
17 # ----- Routers -----
18
19 begin routers
20
21 r1:
22   driver = redirect
23   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
24
25 r2:
26   driver = accept
27   transport = ${if match{$local_part}{^batch}{t2}{t1}}
28
29
30 # ----- Transports -----
31
32 begin transports
33
34 t1:
35   driver = appendfile
36   file = DIR/test-mail/$local_part
37   user = CALLER
38   envelope_to_add
39
40 t2:
41   driver = appendfile
42   file = DIR/test-mail/batch
43   user = CALLER
44   envelope_to_add
45   batch_max = 10
46
47
48 # End