Log deferred deliveries for transport max_parallel
[exim.git] / test / confs / 0135
CommitLineData
afda344b
PH
1# Exim test configuration 0135
2
3exim_path = EXIM_PATH
4host_lookup_order = bydns
afda344b
PH
5spool_directory = DIR/spool
6log_file_path = DIR/spool/log/%slog
7gecos_pattern = ""
8gecos_name = CALLER_NAME
9
10# ----- Main settings -----
11
12domainlist local_domains = test.ex
13
14qualify_domain = test.ex
15ignore_bounce_errors_after = 0s
16admin_groups = CALLER
17remote_max_parallel = 1
18
19
20# ----- Routers -----
21
22begin routers
23
24default:
25 driver = manualroute
26 domains = ! +local_domains
27 route_list = "known.ex V4NET.0.0.0 byname;\
28 * V4NET.0.0.1 byname"
29 transport = smtp
30 no_more
31
32null:
33 driver = redirect
34 allow_defer
35 condition = ${if eq {$sender_address}{}{yes}{no}}
36 data = :blackhole:
37 retry_use_local_part
38
39smart:
40 driver = accept
41 retry_use_local_part
42 transport = local_delivery
43
44
45# ----- Transports -----
46
47begin transports
48
49smtp:
50 driver = smtp
51 connect_timeout = 1s
52
53local_delivery:
54 driver = appendfile
55 file = DIR/test-mail/$local_part
56 quota = 20
57 user = CALLER
58
59
60# ----- Retry -----
61
62# Note that these retry rules are not sensible! However, they serve to make
63# Exim behave as required in order to run this test. It does not normally make
64# sense to have the time limit on the second rule shorter than the first,
65# because that means the second rule will never actually be used for retries.
66# However, Exim uses the time limit on the final rule to check for the ultimate
67# address retry, so what we have here is a total kludge!
68
69begin retry
70
71d@test.ex quota F,1d,15m; F,7s,1s
72* quota F,1h,10s; F,1s,1s
73known.ex * F,1h,10s; F,1s,1s
74special * F,30d,1h
75* * F,1d,15m; F,8s,1s
76
77
78# End