Fix post-transport-crash: safeguard for missing spool BUG 1671
[users/jgh/exim.git] / test / confs / 0072
1 # Exim test configuration 0072
2
3 ONCE=once=DIR/spool/autolog
4 ONLY=
5 RETURN=
6
7 exim_path = EXIM_PATH
8 host_lookup_order = bydns
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14 # ----- Main settings -----
15
16 qualify_domain = test.ex
17
18
19 # ----- Routers -----
20
21 begin routers
22
23 filter:
24   driver = redirect
25   local_parts = userx-filter
26   allow_filter
27   data = #Exim filter\n seen mail text "This is an autoreply."
28   user = EXIMUSER
29
30
31 reply:
32   driver = accept
33   retry_use_local_part
34   senders = !
35   transport = reply
36
37 localuser:
38   driver = accept
39   check_local_user
40   transport = local_delivery
41
42
43 # ----- Transports -----
44
45 begin transports
46
47 reply:
48   driver = autoreply
49   text = "Test auto reply to ${escape:$h_subject:}"
50   to = $reply_address
51   user = EXIMUSER
52   ONCE
53   RETURN
54   ONLY
55
56 local_delivery:
57   driver = appendfile
58   delivery_date_add
59   envelope_to_add
60   file = DIR/test-mail/$local_part
61   return_path_add
62
63
64 # End