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