Fix CVE-2016-1531
[exim.git] / test / confs / 3700
CommitLineData
b3ef41c9
JH
1# Exim test configuration 3700
2
3SERVER=
4
5exim_path = EXIM_PATH
bc3c7bb7 6keep_environment =
b3ef41c9
JH
7host_lookup_order = bydns
8primary_hostname = myhost.test.ex
9spool_directory = DIR/spool
10log_file_path = DIR/spool/log/SERVER%slog
11gecos_pattern = ""
12gecos_name = CALLER_NAME
13
14log_selector = +received_recipients +outgoing_port
15
16# ----- Main settings -----
17
18acl_smtp_mail = check_authd
19acl_smtp_rcpt = check_authd
20queue_only
21queue_run_in_order
22trusted_users = CALLER
23
24tls_on_connect_ports = PORT_S
25tls_advertise_hosts = *
26tls_certificate = DIR/aux-fixed/cert1
27
28tls_verify_hosts = *
29tls_verify_certificates = DIR/aux-fixed/cert2
30
31
32# ----- ACL -----
33
34begin acl
35
36check_authd:
37 deny message = authentication required
38 !authenticated = *
39 accept
40
41
42# ----- Authentication -----
43
44begin authenticators
45
46tls:
47 driver = tls
48 server_debug_print = +++TLS \$auth1="$auth1"
49 server_param1 = ${quote:${certextract {subject,CN,>:} \
50 {$tls_in_peercert}}}
51 server_condition = ${if def:auth1}
52 server_set_id = $auth1
53
54
55# ----- Routers -----
56
57begin routers
58
59r1:
60 driver = accept
61 transport = ${if eq {$local_part}{smtps} {t2}{t1}}
62
63
64# ----- Transports -----
65
66begin transports
67
68t1:
69 driver = smtp
70 hosts = 127.0.0.1
71 port = PORT_D
72 allow_localhost
73 tls_certificate = DIR/aux-fixed/cert2
74 tls_verify_certificates = DIR/aux-fixed/cert1
75 tls_verify_cert_hostnames = :
76
77t2:
78 driver = smtp
79 hosts = 127.0.0.1
80 port = PORT_S
81 protocol = smtps
82 allow_localhost
83 tls_certificate = DIR/aux-fixed/cert2
84 tls_verify_certificates = DIR/aux-fixed/cert1
85 tls_verify_cert_hostnames = :
86
87# End