Add $router_name and $transport_name variables. Bug 308.
[exim.git] / test / confs / 0111
1 # Exim test configuration 0111
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
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 alias:
21   driver = redirect
22   allow_defer
23   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
24   errors_to = postmaster@test.ex
25   headers_add = X-Alias: $local_part
26   retry_use_local_part
27
28 forward:
29   driver = redirect
30   check_ancestor
31   no_check_local_user
32   file = DIR/aux-fixed/TESTNUM.forward
33   headers_add = X-Forward: $local_part
34   headers_remove = Remove
35   retry_use_local_part
36
37 deliver:
38   driver = accept
39   local_parts = userx : postmaster
40   retry_use_local_part
41   transport = appendfile
42
43
44 # ----- Transports -----
45
46 begin transports
47
48 appendfile:
49   driver = appendfile
50   envelope_to_add
51   file = DIR/test-mail/$local_part
52   user = CALLER
53
54
55 # End