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