Fix CVE-2016-1531
[exim.git] / test / confs / 2000
CommitLineData
afda344b
PH
1# Exim test configuration 2000
2
3SERVER=
4
5exim_path = EXIM_PATH
bc3c7bb7 6keep_environment =
afda344b
PH
7host_lookup_order = bydns
8primary_hostname = myhost.test.ex
afda344b
PH
9spool_directory = DIR/spool
10log_file_path = DIR/spool/log/SERVER%slog
11gecos_pattern = ""
12gecos_name = CALLER_NAME
13
14# ----- Main settings -----
15
16acl_smtp_rcpt = accept
17
18log_selector = +tls_peerdn
19
20queue_only
21queue_run_in_order
22
23tls_advertise_hosts = *
1508acb8
PP
24# needed to force generation
25tls_dhparam = historic
afda344b
PH
26
27# Set certificate only if server
28
29tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
30tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
31
32tls_verify_hosts = *
33tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
34
35
36# ----- Routers -----
37
38begin routers
39
40client:
41 driver = accept
42 condition = ${if eq {SERVER}{server}{no}{yes}}
43 retry_use_local_part
44 transport = send_to_server
45
46
47# ----- Transports -----
48
49begin transports
50
51send_to_server:
52 driver = smtp
53 allow_localhost
54 hosts = 127.0.0.1
55 port = PORT_D
56 tls_certificate = DIR/aux-fixed/cert2
57 tls_privatekey = DIR/aux-fixed/cert2
58 tls_verify_certificates = DIR/aux-fixed/cert2
610ff438 59 tls_try_verify_hosts =
afda344b
PH
60
61
62# ----- Retry -----
63
64
65begin retry
66
67* * F,5d,10s
68
69
70# End