safer coding of router toplevel
[exim.git] / test / confs / 0006
1 # Exim test configuration 0006
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 acl_smtp_rcpt = accept
9 trusted_users = CALLER
10 log_selector = +smtp_no_mail
11
12
13 # ----- Routers -----
14
15 begin routers
16
17 system_aliases:
18   driver = redirect
19   allow_defer
20   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/0006-aliases}}
21   file_transport = address_file
22   retry_use_local_part
23
24 localuser:
25   driver = accept
26   check_local_user
27   transport = local_delivery
28
29
30 # ----- Transports -----
31
32 begin transports
33
34 local_delivery:
35   driver = appendfile
36   delivery_date_add
37   envelope_to_add
38   file = DIR/test-mail/$local_part
39   create_file = DIR/test-mail
40   return_path_add
41   headers_add = \nMessage Headers:\n$message_headers\n\
42                 \nRaw Message Headers:\n$message_headers_raw\n
43
44 address_file:
45   driver = appendfile
46   delivery_date_add
47   envelope_to_add
48   return_path_add
49
50 # End