summaryrefslogtreecommitdiff
path: root/test/confs/0046
blob: 4e7ff862a4a97a044234d785ffebf4e1ea88d748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Exim test configuration 0046

NL=FALSE

exim_path = EXIM_PATH
keep_environment =
host_lookup_order = bydns
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME
tls_advertise_hosts =

# ----- Main settings -----

message_body_newlines = NL
message_id_header_domain = test.ex
qualify_domain = test.ex
# Omit Received: so as to keep the header size fixed
received_header_text =
trusted_users = CALLER


# ----- Routers -----

begin routers

localuser:
  driver = accept
  local_parts = userx
  transport = local_delivery


# ----- Transports -----

begin transports

local_delivery:
  driver = appendfile
  envelope_to_add
  file = DIR/test-mail/$local_part
  headers_add = "X-size: $message_size\n\
                 X-body-size: $message_body_size\n\
                 X-body: $message_body\n\
                 X-tail: $message_body_end\n\
                 X-local-user: uid=$local_user_uid gid=$local_user_gid"
  return_path_add
  user = CALLER

# End