Fix CVE-2016-1531
[exim.git] / test / confs / 2101
1 # Exim test configuration 2101
2
3 OPTION=
4 SERVER=
5
6 exim_path = EXIM_PATH
7 keep_environment =
8 host_lookup_order = bydns
9 primary_hostname = myhost.test.ex
10 rfc1413_query_timeout = 0s
11 spool_directory = DIR/spool
12 log_file_path = DIR/spool/log/SERVER%slog
13 gecos_pattern = ""
14 gecos_name = CALLER_NAME
15
16 # ----- Main settings -----
17
18 acl_smtp_rcpt = accept
19
20 log_selector =  +tls_peerdn
21
22 queue_only
23 queue_run_in_order
24
25 tls_advertise_hosts = *
26
27 # Set certificate only if server
28
29 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
30 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
31
32 tls_verify_hosts = *
33 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
34
35
36 # ----- Routers -----
37
38 begin routers
39
40 client:
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
49 begin transports
50
51 send_to_server:
52   driver = smtp
53   allow_localhost
54   hosts = 127.0.0.1
55   OPTION
56   port = PORT_D
57   tls_certificate = DIR/aux-fixed/cert2
58   tls_privatekey = DIR/aux-fixed/cert2
59   tls_verify_certificates = DIR/aux-fixed/cert2
60
61
62 # ----- Retry -----
63
64
65 begin retry
66
67 * * F,5d,10s
68
69
70 # End