Fix post-transport-crash: safeguard for missing spool BUG 1671
[users/jgh/exim.git] / test / confs / 0118
1 # Exim test configuration 0118
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 acl_smtp_rcpt = check_recipient
13 acl_smtp_data = check_message
14 domainlist local_domains = test.ex
15 qualify_domain = test.ex
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 first:
23   driver = redirect
24   allow_defer
25   condition = ${if first_delivery{yes}{no}}
26   data = :defer: force defer on first delivery
27   retry_use_local_part
28
29 second:
30   driver = redirect
31   allow_defer
32   condition = ${if queue_running{no}{yes}}
33   data = :defer: force defer on non-queue run
34   retry_use_local_part
35
36 third:
37   driver = accept
38   retry_use_local_part
39   transport = appendfile
40
41
42 # ----- Transports -----
43
44 begin transports
45
46 appendfile:
47   driver = appendfile
48   file = DIR/test-mail/$local_part
49   user = CALLER
50
51
52 # ----- Retry -----
53
54
55 begin retry
56
57 * * F,5d,1d
58
59
60 # End