9a840e95664292e9083b3b984d577c23a7b11591
[users/heiko/exim.git] / test / confs / 0111
1 # Exim test configuration 0111
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9 tls_advertise_hosts =
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