Docs: change example from match (RE) to match_ip (IP list)
[exim.git] / test / confs / 0046
1 # Exim test configuration 0046
2
3 NL=FALSE
4
5 .include DIR/aux-var/std_conf_prefix
6
7
8 # ----- Main settings -----
9
10 message_body_newlines = NL
11 message_id_header_domain = test.ex
12 qualify_domain = test.ex
13 # Omit Received: so as to keep the header size fixed
14 received_header_text =
15 trusted_users = CALLER
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 localuser:
23   driver = accept
24   local_parts = userx
25   transport = local_delivery
26
27
28 # ----- Transports -----
29
30 begin transports
31
32 local_delivery:
33   driver = appendfile
34   envelope_to_add
35   file = DIR/test-mail/$local_part
36   create_file = DIR/test-mail
37   headers_add = "X-size: $message_size\n\
38                  X-body-size: $message_body_size\n\
39                  X-body: $message_body\n\
40                  X-tail: $message_body_end\n\
41                  X-local-user: uid=$local_user_uid gid=$local_user_gid"
42   return_path_add
43   user = CALLER
44
45 # End