Fix CVE-2016-1531
[users/heiko/exim.git] / test / confs / 2117
1 # Exim test configuration 2117
2
3 SERVER =
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14 # ----- Main settings -----
15
16 acl_smtp_rcpt = accept
17
18 log_selector = +tls_peerdn
19
20 queue_only
21 queue_run_in_order
22
23 tls_advertise_hosts = *
24
25 # Set certificate only if server
26
27 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
28 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
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 server:
42   driver = accept
43   retry_use_local_part
44   transport = local_delivery
45
46
47 # ----- Transports -----
48
49 begin transports
50
51 local_delivery:
52   driver = appendfile
53   file = DIR/test-mail/$local_part
54   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
55   user = CALLER
56
57 send_to_server:
58   driver = smtp
59   allow_localhost
60   hosts = 127.0.0.1
61   hosts_nopass_tls = *
62   port = PORT_D
63   tls_try_verify_hosts = :
64
65
66 # ----- Retry -----
67
68
69 begin retry
70
71 * * F,5d,10s
72
73
74 # End