Merge branch 'master'
[users/jgh/exim.git] / test / confs / 0335
1 # Exim test configuration 0335
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11 tls_advertise_hosts =
12
13 # ----- Main settings -----
14
15 qualify_domain = test.ex
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 r1:
23   driver = redirect
24   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
25
26 r2:
27   driver = accept
28   transport = ${if match{$local_part}{^batch}{t2}{t1}}
29
30
31 # ----- Transports -----
32
33 begin transports
34
35 t1:
36   driver = appendfile
37   file = DIR/test-mail/$local_part
38   user = CALLER
39   envelope_to_add
40
41 t2:
42   driver = appendfile
43   file = DIR/test-mail/batch
44   user = CALLER
45   envelope_to_add
46   batch_max = 10
47
48
49 # End