Fix post-transport-crash: safeguard for missing spool BUG 1671
[users/jgh/exim.git] / test / confs / 0166
1 # Exim test configuration 0166
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
10 # ----- Main settings -----
11
12 domainlist local_domains = test.ex
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.aliases}}
24   headers_add = X-Delivered-To: $local_part@$domain
25   retry_use_local_part
26
27 user:
28   driver = accept
29   headers_add = X-Delivered-To: $local_part@$domain
30   retry_use_local_part
31   transport = local_delivery
32   headers_add = X-rtr-hdr: 1
33   headers_add = ${if bool{false} {X-rtr-hdr: 2}}
34   headers_add = X-rtr-hdr: 3
35
36
37 # ----- Transports -----
38
39 begin transports
40
41 local_delivery:
42   driver = appendfile
43   envelope_to_add
44   file = DIR/test-mail/$local_part
45   user = CALLER
46   headers_add = X-tpt-hdr: 1
47   headers_add = ${if bool{false} {X-tpt-hdr: 2}}
48   headers_add = X-tpt-hdr: 3
49
50
51 # End