Events: dns:fail Bug 3011
[exim.git] / test / confs / 2000
1 # Exim test configuration 2000
2
3 SERVER=
4
5 .include DIR/aux-var/tls_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = accept
12
13 log_selector =  +tls_peerdn
14
15 queue_only
16 queue_run_in_order
17
18 tls_advertise_hosts = *
19 # needed to force generation
20 tls_dhparam = historic
21
22 # Set certificate only if server
23
24 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26
27 tls_verify_hosts = *
28 tls_verify_certificates = DIR/aux-fixed/exim-ca/example.org/server2.example.org/ca_chain.pem
29
30
31 # ----- Routers -----
32
33 begin routers
34
35 client:
36   driver = accept
37   condition = ${if eq {SERVER}{server}{no}{yes}}
38   retry_use_local_part
39   transport = send_to_server
40
41
42 # ----- Transports -----
43
44 begin transports
45
46 send_to_server:
47   driver = smtp
48   allow_localhost
49   hosts = 127.0.0.1
50   port = PORT_D
51   hosts_try_fastopen =  :
52   tls_certificate =     DIR/aux-fixed/exim-ca/example.org/server2.example.org/server2.example.org.pem
53   tls_privatekey =      DIR/aux-fixed/exim-ca/example.org/server2.example.org/server2.example.org.unlocked.key
54
55   tls_verify_certificates = DIR/aux-fixed/cert2
56   tls_try_verify_hosts =
57
58
59 # ----- Retry -----
60
61
62 begin retry
63
64 * * F,5d,10s
65
66
67 # End