Avoid the long whats_supported line being mixed with output from other processes
[users/heiko/exim.git] / test / confs / 4029
1 # Exim test configuration 4029
2 # starttls over socks
3
4 OPT =
5 SERVER=
6
7 .include DIR/aux-var/std_conf_prefix
8
9 primary_hostname = myhost.test.ex
10
11 # ----- Main settings -----
12
13 log_selector =  +tls_peerdn
14 domainlist local_domains = test.ex : *.test.ex
15 acl_smtp_rcpt = accept
16
17 tls_advertise_hosts = *
18
19 # Set certificate only if server
20
21 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
22 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
23
24 tls_verify_hosts = *
25 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
26
27 # ----- Routers -----
28
29 begin routers
30
31 client:
32   driver = manualroute
33   condition = ${if eq {SERVER}{server}{no}{yes}}
34   route_list = * 127.0.0.1
35   self = send
36   transport = my_smtp
37   no_more
38
39 server:
40   driver = redirect
41   data = :blackhole:
42
43
44 # ----- Transports -----
45
46 begin transports
47
48 my_smtp:
49   driver = smtp
50   port = PORT_D
51   hosts_try_fastopen =  :
52   socks_proxy = 127.0.0.1 port=1080 OPT
53   tls_certificate = DIR/aux-fixed/cert2
54   tls_privatekey = DIR/aux-fixed/cert2
55   tls_verify_certificates = DIR/aux-fixed/cert2
56   tls_try_verify_hosts = *
57
58
59
60 # End
61