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

.include DIR/aux-var/std_conf_prefix


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

log_selector = +subject
domainlist local_domains = test.ex
qualify_domain = test.ex
untrusted_set_sender = *


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

begin routers

smart:
  driver = accept
  retry_use_local_part
  transport = ${if eq {t1}{$sender_address_local_part} {local_delivery} \
		{${if eq {t2}{$sender_address_local_part} {local_delivery_fcntl} \
		{${if eq {t3}{$sender_address_local_part} {local_delivery_fcntl_blocking} \
		{} }}}}}


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

begin transports

local_delivery:
  driver = appendfile
  file = DIR/test-mail/$local_part
  create_file = DIR/test-mail
  lock_interval = 1s
  lock_retries = 2
  user = CALLER

local_delivery_fcntl:
  driver = appendfile
  file = DIR/test-mail/$local_part
  create_file = DIR/test-mail
  lock_interval = 1s
  lock_retries = 2
  no_use_lockfile
  user = CALLER

local_delivery_fcntl_blocking:
  driver = appendfile
  file = DIR/test-mail/$local_part
  create_file = DIR/test-mail
  lock_fcntl_timeout = 2s
  lock_interval = 1s
  lock_retries = 2
  no_use_lockfile
  user = CALLER


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

begin retry

*        *  F,4d,4d


# End