e78f4ebe14fcef2c60ef3e7bec962491f5bf4ff9
[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 tls_advertise_hosts =
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