Testsuite: Add test for proxy and -bh (Bug 2656)
[users/heiko/exim.git] / test / confs / 2100
1 # Exim test configuration 2100
2
3 SERVER=
4
5 .include DIR/aux-var/tls_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 .ifdef _HAVE_TLS
10 # that was purely to trigger the lazy-create of builtin macros
11 .endif
12 # ----- Main settings -----
13
14 acl_smtp_rcpt = accept
15
16 log_selector =  +tls_peerdn
17
18 queue_only
19 queue_run_in_order
20
21 tls_advertise_hosts = *
22
23 # Set certificate only if server
24
25 #tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26 tls_certificate = DIR/aux-fixed/cert1
27 #tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
28
29 tls_verify_hosts = *
30 #tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
31 tls_verify_certificates = DIR/aux-fixed/cert2
32
33
34 # ----- Routers -----
35
36 begin routers
37
38 client:
39   driver = accept
40   condition = ${if eq {SERVER}{server}{no}{yes}}
41   retry_use_local_part
42   transport = send_to_server
43
44
45 # ----- Transports -----
46
47 begin transports
48
49 send_to_server:
50   driver = smtp
51   allow_localhost
52   hosts = 127.0.0.1
53   port = PORT_D
54   hosts_try_fastopen = :
55   tls_certificate = DIR/aux-fixed/cert2
56   tls_privatekey = DIR/aux-fixed/cert2
57   tls_verify_certificates = DIR/aux-fixed/cert2
58   tls_try_verify_hosts = :
59
60
61 # ----- Retry -----
62
63
64 begin retry
65
66 * * F,5d,10s
67
68
69 # End