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