testcase
[users/heiko/exim.git] / test / confs / 0166
1 # Exim test configuration 0166
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
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 domainlist local_domains = test.ex
15 qualify_domain = test.ex
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 alias:
23   driver = redirect
24   allow_defer
25   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
26   headers_add = X-Delivered-To: $local_part@$domain
27   retry_use_local_part
28
29 user:
30   driver = accept
31   headers_add = X-Delivered-To: $local_part@$domain
32   retry_use_local_part
33   transport = local_delivery
34   headers_add = X-rtr-hdr: 1
35   headers_add = ${if bool{false} {X-rtr-hdr: 2}}
36   headers_add = X-rtr-hdr: 3
37
38
39 # ----- Transports -----
40
41 begin transports
42
43 local_delivery:
44   driver = appendfile
45   envelope_to_add
46   file = DIR/test-mail/$local_part
47   user = CALLER
48   headers_add = X-tpt-hdr: 1
49   headers_add = ${if bool{false} {X-tpt-hdr: 2}}
50   headers_add = X-tpt-hdr: 3
51
52
53 # End