summaryrefslogtreecommitdiff
path: root/test/confs/0095
blob: 4b18a494fe287372d00332becc2a56c151d2db6c (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Exim test configuration 0095

ERT=
QWM=

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

ERT

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

begin routers

usery:
  driver = accept
  local_parts = usery
  retry_use_local_part
  transport = appendfile2

userz:
  driver = accept
  local_parts = userz
  retry_use_local_part
  transport = appendfile3

localuser:
  driver = accept
  local_parts = userx
  transport = appendfile


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

begin transports

appendfile:
  driver = appendfile
  file = DIR/test-mail/$local_part
  create_file = DIR/test-mail
  quota = $h_quota
  quota_warn_threshold = $h_threshold
  QWM
  user = CALLER

appendfile2:
  driver = appendfile
  file = DIR/test-mail/$local_part
  create_file = DIR/test-mail
  quota = $h_quota
  quota_warn_threshold = $h_threshold
  user = CALLER

appendfile3:
  driver = appendfile
  file = DIR/test-mail/${local_part}${if eq{$sender_address}{}{.bounce}}
  create_file = DIR/test-mail
  quota_warn_threshold = $h_threshold
  user = CALLER
  headers_add = X:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


# ----- Retry -----


begin retry

* * F,5d,1d


# End