summaryrefslogtreecommitdiff
path: root/test/confs/0046
blob: c70121b3277e45de8e33ac71870c4dca6670171f (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
# Exim test configuration 0046

NL=FALSE

exim_path = EXIM_PATH
host_lookup_order = bydns
rfc1413_query_timeout = 0s
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME

# ----- 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