Docs: options on lookups
[users/heiko/exim.git] / test / confs / 0166
1 # Exim test configuration 0166
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = test.ex
9 qualify_domain = test.ex
10
11
12 # ----- Routers -----
13
14 begin routers
15
16 alias:
17   driver = redirect
18   allow_defer
19   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
20   headers_add = X-Delivered-To: $local_part@$domain
21   retry_use_local_part
22
23 user:
24   driver = accept
25   headers_add = X-Delivered-To: $local_part@$domain
26   retry_use_local_part
27   transport = local_delivery
28   headers_add = X-rtr-hdr: 1
29   headers_add = ${if bool{false} {X-rtr-hdr: 2}}
30   headers_add = X-rtr-hdr: 3
31
32
33 # ----- Transports -----
34
35 begin transports
36
37 local_delivery:
38   driver = appendfile
39   envelope_to_add
40   file = DIR/test-mail/${bless:$local_part}
41   user = CALLER
42   headers_add = X-tpt-hdr: 1
43   headers_add = ${if bool{false} {X-tpt-hdr: 2}}
44   headers_add = X-tpt-hdr: 3
45
46
47 # End