Fix CVE-2016-1531
[exim.git] / test / confs / 0135
1 # Exim test configuration 0135
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex
15
16 qualify_domain = test.ex
17 ignore_bounce_errors_after = 0s
18 admin_groups = CALLER
19 remote_max_parallel = 1
20
21
22 # ----- Routers -----
23
24 begin routers
25
26 default:
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
34 null:
35 driver = redirect
36 allow_defer
37 condition = ${if eq {$sender_address}{}{yes}{no}}
38 data = :blackhole:
39 retry_use_local_part
40
41 smart:
42 driver = accept
43 retry_use_local_part
44 transport = local_delivery
45
46
47 # ----- Transports -----
48
49 begin transports
50
51 smtp:
52 driver = smtp
53 connect_timeout = 1s
54
55 local_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
71 begin retry
72
73 d@test.ex quota F,1d,15m; F,7s,1s
74 * quota F,1h,10s; F,1s,1s
75 known.ex * F,1h,10s; F,1s,1s
76 special * F,30d,1h
77 * * F,1d,15m; F,8s,1s
78
79
80 # End