src/deliver.c: log the error message when unlink(spoolname) fails
[users/jgh/exim.git] / test / confs / 0006
1 # Exim test configuration 0006
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
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 acl_smtp_rcpt = accept
14 trusted_users = CALLER
15
16
17 # ----- Routers -----
18
19 begin routers
20
21 system_aliases:
22   driver = redirect
23   allow_defer
24   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/0006-aliases}}
25   file_transport = address_file
26   retry_use_local_part
27
28 localuser:
29   driver = accept
30   check_local_user
31   transport = local_delivery
32
33
34 # ----- Transports -----
35
36 begin transports
37
38 local_delivery:
39   driver = appendfile
40   delivery_date_add
41   envelope_to_add
42   file = DIR/test-mail/$local_part
43   return_path_add
44   headers_add = \nMessage Headers:\n$message_headers\n\
45                 \nRaw Message Headers:\n$message_headers_raw\n
46
47 address_file:
48   driver = appendfile
49   delivery_date_add
50   envelope_to_add
51   return_path_add
52
53 # End