4e7ff862a4a97a044234d785ffebf4e1ea88d748
[users/heiko/exim.git] / test / confs / 0046
1 # Exim test configuration 0046
2
3 NL=FALSE
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12 tls_advertise_hosts =
13
14 # ----- Main settings -----
15
16 message_body_newlines = NL
17 message_id_header_domain = test.ex
18 qualify_domain = test.ex
19 # Omit Received: so as to keep the header size fixed
20 received_header_text =
21 trusted_users = CALLER
22
23
24 # ----- Routers -----
25
26 begin routers
27
28 localuser:
29   driver = accept
30   local_parts = userx
31   transport = local_delivery
32
33
34 # ----- Transports -----
35
36 begin transports
37
38 local_delivery:
39   driver = appendfile
40   envelope_to_add
41   file = DIR/test-mail/$local_part
42   headers_add = "X-size: $message_size\n\
43                  X-body-size: $message_body_size\n\
44                  X-body: $message_body\n\
45                  X-tail: $message_body_end\n\
46                  X-local-user: uid=$local_user_uid gid=$local_user_gid"
47   return_path_add
48   user = CALLER
49
50 # End