Fix CVE-2016-1531
[exim.git] / test / confs / 2107
CommitLineData
afda344b
PH
1# Exim test configuration 2107
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 = +smtp_confirmation+tls_peerdn
19
20queue_only
21queue_run_in_order
22
23tls_advertise_hosts = *
24
25# Set certificate only if server
26
27tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
28tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
29
30
31# ----- Routers -----
32
33begin routers
34
35client:
36 driver = accept
37 condition = ${if eq {SERVER}{server}{no}{yes}}
38 retry_use_local_part
39 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
40
41server:
42 driver = accept
43 retry_use_local_part
44 transport = local_delivery
45
46
47# ----- Transports -----
48
49begin transports
50
51local_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
57send_to_server1:
58 driver = smtp
59 allow_localhost
60 hosts = 127.0.0.1
61 port = PORT_D
62
63send_to_server2:
64 driver = smtp
65 allow_localhost
66 hosts = HOSTIPV4
67 port = PORT_D
68
69# End