smtp input
[users/heiko/exim.git] / test / confs / 0006
1 # Exim test configuration 0006
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 = accept
13 trusted_users = CALLER
14
15
16 # ----- Routers -----
17
18 begin routers
19
20 system_aliases:
21   driver = redirect
22   allow_defer
23   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/0006-aliases}}
24   file_transport = address_file
25   retry_use_local_part
26
27 localuser:
28   driver = accept
29   check_local_user
30   transport = local_delivery
31
32
33 # ----- Transports -----
34
35 begin transports
36
37 local_delivery:
38   driver = appendfile
39   delivery_date_add
40   envelope_to_add
41   file = DIR/test-mail/$local_part
42   return_path_add
43   headers_add = \nMessage Headers:\n$message_headers\n\
44                 \nRaw Message Headers:\n$message_headers_raw\n
45
46 address_file:
47   driver = appendfile
48   delivery_date_add
49   envelope_to_add
50   return_path_add
51
52 # End