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