summaryrefslogtreecommitdiff
path: root/test/confs/0135
blob: 2c62f04732f5c72341cd74aabf83d27ed9f67bf6 (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 0135

.include DIR/aux-var/std_conf_prefix


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

domainlist local_domains = test.ex

qualify_domain = test.ex
ignore_bounce_errors_after = 0s
admin_groups = CALLER
remote_max_parallel = 1


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

begin routers

default:
  driver = manualroute
  domains = ! +local_domains
  route_list = "known.ex V4NET.0.0.0 byname;\
                *        V4NET.0.0.1 byname"
  transport = smtp
  no_more

null:
  driver = redirect
  allow_defer
  condition = ${if eq {$sender_address}{}{yes}{no}}
  data = :blackhole:
  retry_use_local_part

smart:
  driver = accept
  retry_use_local_part
  transport = local_delivery


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

begin transports

smtp:
  driver = smtp
  connect_timeout = 1s

local_delivery:
  driver = appendfile
  file = DIR/test-mail/$local_part
  quota = 20
  user = CALLER


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

# Note that these retry rules are not sensible! However, they serve to make
# Exim behave as required in order to run this test. It does not normally make
# sense to have the time limit on the second rule shorter than the first,
# because that means the second rule will never actually be used for retries.
# However, Exim uses the time limit on the final rule to check for the ultimate
# address retry, so what we have here is a total kludge!

begin retry

d@test.ex quota  F,1d,15m;  F,7s,1s
*         quota  F,1h,10s;  F,1s,1s
known.ex  *      F,1h,10s;  F,1s,1s
special   *      F,30d,1h
*         *      F,1d,15m;  F,8s,1s


# End