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