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