Testsuite: allow long server startup delay after big file write
[users/jgh/exim.git] / test / confs / 2130
1 # Exim test configuration 2130
2 # SNI
3
4 SERVER =
5
6 exim_path = EXIM_PATH
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14
15 # ----- Main settings -----
16
17 domainlist local_domains = test.ex : *.test.ex
18
19 acl_smtp_rcpt = acl_log_sni
20 log_selector = +tls_peerdn +tls_sni
21 remote_max_parallel = 1
22
23 tls_advertise_hosts = *
24
25 # Set certificate only if server
26
27 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
28
29
30 # ------ ACL ------
31
32 begin acl
33
34 acl_log_sni:
35   accept
36          logwrite = SNI <$tls_in_sni>
37
38 # ----- Routers -----
39
40 begin routers
41
42 client:
43   driver = accept
44   condition = ${if !eq {SERVER}{server}}
45   transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
46
47 server:
48   driver = redirect
49   data = :blackhole:
50
51
52 # ----- Transports -----
53
54 begin transports
55
56 send_to_server1:
57   driver = smtp
58   allow_localhost
59   hosts = HOSTIPV4
60   port = PORT_D
61   tls_sni = fred
62   tls_try_verify_hosts = :
63
64 send_to_server2:
65   driver = smtp
66   allow_localhost
67   hosts = HOSTIPV4
68   port = PORT_D
69   tls_try_verify_hosts = :
70
71
72 # ----- Retry -----
73
74
75 begin retry
76
77 * * F,5d,10s
78
79
80 # End