Fix CVE-2016-1531
[exim.git] / test / confs / 2013
1 # Exim test configuration 2013
2
3 SERVER =
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 rfc1413_query_timeout = 0s
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/SERVER%slog
12 gecos_pattern = ""
13 gecos_name = CALLER_NAME
14
15 # ----- Main settings -----
16
17 acl_smtp_rcpt = accept
18
19 log_selector = +tls_peerdn+smtp_connection+incoming_port
20
21 queue_only
22 queue_run_in_order
23
24 smtp_accept_max_nonmail = 0
25
26 tls_advertise_hosts = *
27
28 # Set certificate only if server
29
30 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
31 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
32
33
34 # ----- Routers -----
35
36 begin routers
37
38 client:
39   driver = accept
40   condition = ${if eq {SERVER}{server}{no}{yes}}
41   retry_use_local_part
42   transport = send_to_server
43
44 server:
45   driver = accept
46   retry_use_local_part
47   transport = local_delivery
48
49
50 # ----- Transports -----
51
52 begin transports
53
54 local_delivery:
55   driver = appendfile
56   file = DIR/test-mail/$local_part
57   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
58   user = CALLER
59
60 send_to_server:
61   driver = smtp
62   allow_localhost
63   hosts = 127.0.0.1
64   port = PORT_D
65
66 # End