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

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