Fix post-transport-crash: safeguard for missing spool BUG 1671
[users/jgh/exim.git] / test / confs / 0402
1 # Exim test configuration 0402
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 primary_hostname = mail.test.ex
13 qualify_domain = test.ex
14
15
16 # ----- Routers -----
17
18 begin routers
19
20 r1:
21   driver = accept
22   local_parts = CALLER
23   router_home_directory = /non-exist/$local_part
24   transport = t1
25
26 r2:
27   driver = accept
28   local_parts = usery
29   router_home_directory = /non-exist/$domain
30   transport_home_directory = /non-exist/$local_part
31   transport = t1
32
33 r3:
34   driver = accept
35   local_parts = userz
36   router_home_directory = /non-exist/$domain
37   transport_home_directory = /non-exist/junk
38   transport = t2
39
40 r4:
41   driver = redirect
42   local_parts = CALLER
43   local_part_prefix = *+
44   router_home_directory = /non-exist/$local_part
45   file_transport = ft1
46   data = DIR/test-mail/junk
47
48 r5:
49   driver = redirect
50   local_parts = usery
51   local_part_prefix = *+
52   router_home_directory = /non-exist/$domain
53   transport_home_directory = /non-exist/$local_part
54   file_transport = ft1
55   data = DIR/test-mail/junk
56
57
58 # ----- Transports -----
59
60 begin transports
61
62 t1:
63   driver = appendfile
64   file = /dev/null
65   user = CALLER
66   current_directory = /
67
68 ft1:
69   driver = appendfile
70   user = CALLER
71   current_directory = /
72
73 t2:
74   driver = appendfile
75   file = /dev/null
76   home_directory = /$local_part
77   user = CALLER
78   current_directory = /
79
80
81 # End