Testsuite: avoid using STARTTLS in a non-TLS testcase
[users/heiko/exim.git] / test / confs / 4061
1 # test config 4061
2 # Pipelining the early part of the SMTP conversation, tls-on-connect
3
4 CONTROL=*
5
6 keep_environment = PATH
7 exim_path = EXIM_PATH
8 host_lookup_order = bydns
9 spool_directory = DIR/spool
10
11 .ifdef SERVER
12 log_file_path = DIR/spool/log/SERVER%slog
13 .else
14 log_file_path = DIR/spool/log/%slog
15 .endif
16
17 gecos_pattern = ""
18 gecos_name = CALLER_NAME
19 dns_cname_loops = 9
20 chunking_advertise_hosts =
21 tls_on_connect_ports = PORT_D
22 tls_advertise_hosts = *
23 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24
25 # Avoid ECDHE key-exchange so that we can wireshark-decode
26 .ifdef _HAVE_GNUTLS
27 tls_require_ciphers = NORMAL:-KX-ALL:+RSA
28 .endif
29
30 .ifdef _HAVE_DMARC
31 dmarc_tld_file =
32 .endif
33
34 pipelining_connect_advertise_hosts = *
35 log_selector = +received_recipients +pipelining
36 queue_only
37
38 acl_smtp_rcpt = accept
39
40 #
41 begin routers
42
43 server:
44   driver =      redirect
45   condition =   ${if eq {SERVER}{server}}
46   data =        :blackhole:
47
48 client:
49   driver =      manualroute
50   route_data =  127.0.0.1
51   self =        send
52   transport =   smtp
53
54 #
55 begin transports
56
57 smtp:
58   driver =              smtp
59   hosts_pipe_connect =  CONTROL
60   port =                PORT_D
61   hosts_try_fastopen =  :
62   protocol =            smtps
63   tls_verify_hosts =
64   tls_try_verify_hosts =
65