Get TLS SNI server-switching working with GnuTLS.
[exim.git] / test / confs / 3465
1 # Exim test configuration 3465
2
3 HOSTS_AVOID_TLS=
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 rfc1413_query_timeout = 0s
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14 # ----- Main settings -----
15
16 acl_smtp_rcpt = accept
17
18 domainlist local_domains = test.ex
19
20 log_selector = +smtp_no_mail
21
22 queue_only = true
23
24 tls_advertise_hosts = *
25 tls_certificate = DIR/aux-fixed/cert1
26 tls_privatekey = DIR/aux-fixed/cert1
27
28
29 # ----- Authenticators -----
30
31 begin authenticators
32
33 plain:
34 driver = plaintext
35 public_name = PLAIN
36 server_condition = "\
37 ${if and {{eq{$2}{userx}}{eq{$3}{secret1}}}{yes}{no}}"
38 server_set_id = $2
39 client_condition = ${if !eq {$tls_cipher}{}}
40 client_send = ^userx^secret1
41
42 login:
43 driver = plaintext
44 public_name = LOGIN
45 server_prompts = User Name : Password
46 server_condition = "\
47 ${if and {{eq{$auth1}{usery}}{eq{$auth2}{secret2}}}{yes}{no}}"
48 server_set_id = $auth1
49 client_send = : usery : secret2
50
51
52 # ----- Routers -----
53
54 begin routers
55
56 r1:
57 driver = accept
58 transport = t1
59
60
61 # ----- Transports -----
62
63 begin transports
64
65 t1:
66 driver = smtp
67 hosts = 127.0.0.1
68 port = PORT_D
69 hosts_avoid_tls = HOSTS_AVOID_TLS
70 hosts_require_auth = *
71 allow_localhost
72
73
74 # End