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