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