Testsuite: fix testcases for /etc/services not having smtps
[exim.git] / test / confs / 4065
CommitLineData
ee8b8090
JH
1# test config 4065
2# Early-pipe, AUTH, GnuTLS, tls-on-connect
3
4keep_environment = PATH
5exim_path = EXIM_PATH
6host_lookup_order = bydns
7spool_directory = DIR/spool
8
9.ifdef SERVER
10log_file_path = DIR/spool/log/SERVER%slog
11.else
12log_file_path = DIR/spool/log/%slog
13.endif
14
15gecos_pattern = ""
16gecos_name = CALLER_NAME
17dns_cname_loops = 9
18chunking_advertise_hosts =
19tls_on_connect_ports = PORT_D
20tls_advertise_hosts = *
21tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
22
23# Avoid ECDHE key-exchange so that we can wireshark-decode
24.ifdef _HAVE_GNUTLS
25tls_require_ciphers = NORMAL:-KX-ALL:+RSA
26.endif
27
28pipelining_connect_advertise_hosts = *
29auth_advertise_hosts = *
30
31log_selector = +received_recipients +pipelining
32queue_only
33
34acl_smtp_rcpt = accept
35
36#
37begin routers
38
39server:
40 driver = redirect
41 condition = ${if eq {SERVER}{server}}
42 data = :blackhole:
43
44client:
45 driver = manualroute
e462483c 46 route_data = 127.0.0.1
ee8b8090
JH
47 self = send
48 transport = smtp
49
50#
51begin transports
52
53smtp:
54 driver = smtp
55 hosts_pipe_connect = *
56 protocol = smtps
e462483c 57 port = PORT_D
ee8b8090
JH
58 tls_verify_hosts =
59 tls_try_verify_hosts =
60 hosts_require_auth = *
61
62#
63begin authenticators
64
65plain:
66 driver = plaintext
67 public_name = PLAIN
68
69 server_condition = "\
70 ${if and {{eq{$auth2}{userx}}{eq{$auth3}{secret}}}{yes}{no}}"
71 server_set_id = $auth2
72
73 client_send = ^userx^secret
74