summaryrefslogtreecommitdiff
path: root/test/confs/0016
blob: f8cbb7cbb74f4e64108d0b6b85d5a81c0c04f208 (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
51
52
# Exim test configuration 0016

.include DIR/aux-var/std_conf_prefix


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

qualify_domain = test.ex


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

begin routers

userforward:
  driver = redirect
  allow_filter
  user = CALLER
  local_parts = userx : CALLER
  file = DIR/aux-fixed/0016.filter.$local_part_data
  local_part_suffix = +*
  local_part_suffix_optional
  reply_transport = address_reply

localuser:
  driver = accept
  local_parts = userx : CALLER
  local_part_suffix = +*
  local_part_suffix_optional
  transport = local_delivery


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

begin transports

local_delivery:
  driver = appendfile
  user = CALLER
  delivery_date_add
  envelope_to_add
  headers_add = X-local_part: $local_part\n\
		X-local_part_suffix: $local_part_suffix\n\
		X-local_part_suffix_v: $local_part_suffix_v
  return_path_add
  file = DIR/test-mail/$local_part
  create_file = DIR/test-mail

address_reply:
  driver = autoreply

# End