Fix post-transport-crash: safeguard for missing spool BUG 1671
[users/jgh/exim.git] / test / confs / 0252
1 # Exim test configuration 0252
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 domainlist local_domains = test.ex : *.test.ex
14 trusted_users = CALLER
15
16
17 # ----- Routers -----
18
19 begin routers
20
21 a:
22   driver = redirect
23   allow_defer
24   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
25   errors_to = alias@test.ex
26   retry_use_local_part
27
28 f:
29   driver = redirect
30   no_check_local_user
31   errors_to = forward@test.ex
32   file = DIR/aux-fixed/TESTNUM.forward
33   local_parts = forward
34   retry_use_local_part
35
36 s:
37   driver = redirect
38   allow_defer
39   data = from-smart@test.ex
40   errors_to = smart@test.ex
41   local_parts = smart
42   retry_use_local_part
43
44 u:
45   driver = accept
46   errors_to = postmaster@test.ex
47   retry_use_local_part
48   transport = t1
49   unseen
50
51 z:
52   driver = accept
53   retry_use_local_part
54   transport = t2
55
56
57 # ----- Transports -----
58
59 begin transports
60
61 t1:
62   driver = appendfile
63   file = DIR/test-mail/t1
64   return_path_add
65   user = CALLER
66
67 t2:
68   driver = appendfile
69   file = DIR/test-mail/t2
70   return_path_add
71   user = CALLER
72
73
74 # ----- Retry -----
75
76
77 begin retry
78
79 * * F,5d,10s
80
81
82 # End