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