FreeBSD: TLS: preload configuration items
[users/heiko/exim.git] / test / confs / 2010
1 # Exim test configuration 2010
2
3 SERVER =
4 TIMES =
5 HOSTS = 127.0.0.1 : HOSTIPV4
6
7 .include DIR/aux-var/tls_conf_prefix
8
9 primary_hostname = myhost.test.ex
10
11 # ----- Main settings -----
12
13 log_selector = +outgoing_port
14
15 acl_smtp_rcpt = accept
16
17 queue_only
18 queue_run_in_order
19
20 # Set certificate only if server
21
22 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
23 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24
25 tls_advertise_hosts = HOSTIPV4
26
27
28 # ----- Routers -----
29
30 begin routers
31
32 client:
33   driver = accept
34   condition = ${if eq {SERVER}{server}{no}{yes}}
35   retry_use_local_part
36   transport = send_to_server
37
38
39 # ----- Transports -----
40
41 begin transports
42
43 send_to_server:
44   driver = smtp
45   allow_localhost
46   hosts = HOSTS
47   port = PORT_D
48   hosts_try_fastopen =  :
49   hosts_require_tls = *
50
51
52 # ----- Retry -----
53
54 begin retry
55
56 * tls_required  TIMES
57 * *  F,1d,5m
58
59 # End