git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testsuite: munge and shuffle for non-TLS build
[exim.git]
/
test
/
confs
/
3461
diff --git
a/test/confs/3461
b/test/confs/3461
index 45a28fd62816cb78acc01afabe77c826ad79dedd..b793a4f36aeb9f9e83161217672c1ccc89c03352 100644
(file)
--- a/
test/confs/3461
+++ b/
test/confs/3461
@@
-1,15
+1,11
@@
# Exim test configuration 3461
SERVER =
# Exim test configuration 3461
SERVER =
+PEX = :
+
+.include DIR/aux-var/tls_conf_prefix
-exim_path = EXIM_PATH
-keep_environment =
-host_lookup_order = bydns
primary_hostname = myhost.test.ex
primary_hostname = myhost.test.ex
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/SERVER%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
# ----- Main settings -----
# ----- Main settings -----
@@
-23,11
+19,7
@@
queue_run_in_order
smtp_accept_max_nonmail = 0
tls_advertise_hosts = *
smtp_accept_max_nonmail = 0
tls_advertise_hosts = *
-
-# Set certificate only if server
-
-tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
-tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+tls_certificate =DIR/aux-fixed/cert1
# ----- Authenticators -----
# ----- Authenticators -----
@@
-66,6
+58,7
@@
begin transports
local_delivery:
driver = appendfile
file = DIR/test-mail/$local_part
local_delivery:
driver = appendfile
file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
@@
-73,8
+66,11
@@
send_to_server:
driver = smtp
allow_localhost
hosts = 127.0.0.1
driver = smtp
allow_localhost
hosts = 127.0.0.1
- hosts_try_auth = *
port = PORT_D
port = PORT_D
- tls_try_verify_hosts = :
+ hosts_try_fastopen = :
+ hosts_try_auth = *
+ hosts_noproxy_tls = PEX
+ tls_verify_certificates = DIR/aux-fixed/cert1
+ tls_verify_cert_hostnames = :
# End
# End