From 0240e7a160721a53365aaa3bd10bb6f3de3f9f15 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 21 Jan 2021 13:06:31 +0000 Subject: Testsuite: TLS server testcase consolidation --- test/confs/1103 | 59 ++++++++++++++++++++++ test/confs/1104 | 51 +++++++++++++++++++ test/confs/1105 | 60 ++++++++++++++++++++++ test/confs/1106 | 16 ++++++ test/confs/1107 | 17 +++++++ test/confs/1108 | 26 ++++++++++ test/confs/1109 | 24 +++++++++ test/confs/1110 | 59 ++++++++++++++++++++++ test/confs/1111 | 14 ++++++ test/confs/1112 | 19 +++++++ test/confs/1113 | 76 ++++++++++++++++++++++++++++ test/confs/1114 | 1 + test/confs/1149 | 16 ++++++ test/confs/2003 | 59 ---------------------- test/confs/2004 | 51 ------------------- test/confs/2005 | 60 ---------------------- test/confs/2006 | 16 ------ test/confs/2015 | 17 ------- test/confs/2018 | 26 ---------- test/confs/2019 | 56 --------------------- test/confs/2022 | 14 ------ test/confs/2023 | 24 --------- test/confs/2028 | 19 ------- test/confs/2030 | 75 ---------------------------- test/confs/2034 | 17 ++++++- test/confs/2090 | 1 - test/confs/2099 | 16 ------ test/confs/2103 | 59 ---------------------- test/confs/2104 | 51 ------------------- test/confs/2105 | 60 ---------------------- test/confs/2106 | 16 ------ test/confs/2115 | 17 ------- test/confs/2118 | 26 ---------- test/confs/2119 | 56 --------------------- test/confs/2122 | 14 ------ test/confs/2123 | 24 --------- test/confs/2128 | 19 ------- test/confs/2130 | 76 ---------------------------- test/confs/2190 | 1 - test/confs/2199 | 16 ------ test/log/1103 | 9 ++++ test/log/1104 | 9 ++++ test/log/1105 | 6 +++ test/log/1106 | 4 ++ test/log/1107 | 9 ++++ test/log/1108 | 5 ++ test/log/1109 | 1 + test/log/1110 | 11 +++++ test/log/1111 | 3 ++ test/log/1112 | 3 ++ test/log/1113 | 10 ++++ test/log/1114 | 5 ++ test/log/1149 | 3 ++ test/log/2003 | 9 ---- test/log/2004 | 9 ---- test/log/2005 | 6 --- test/log/2006 | 4 -- test/log/2015 | 9 ---- test/log/2018 | 5 -- test/log/2019 | 11 ----- test/log/2022 | 3 -- test/log/2023 | 1 - test/log/2028 | 3 -- test/log/2030 | 10 ---- test/log/2034 | 2 +- test/log/2090 | 5 -- test/log/2099 | 3 -- test/log/2103 | 9 ---- test/log/2104 | 9 ---- test/log/2105 | 6 --- test/log/2106 | 4 -- test/log/2111 | 2 +- test/log/2115 | 6 --- test/log/2118 | 5 -- test/log/2119 | 11 ----- test/log/2122 | 3 -- test/log/2123 | 1 - test/log/2128 | 3 -- test/log/2130 | 10 ---- test/log/2190 | 5 -- test/log/2199 | 3 -- test/mail/1103.userx | 11 +++++ test/mail/1104.userx | 10 ++++ test/mail/1110.userx | 22 +++++++++ test/mail/2003.userx | 11 ----- test/mail/2004.userx | 10 ---- test/mail/2019.userx | 22 --------- test/mail/2103.userx | 11 ----- test/mail/2104.userx | 10 ---- test/mail/2119.userx | 22 --------- test/rejectlog/1103 | 3 ++ test/rejectlog/1104 | 3 ++ test/rejectlog/1105 | 3 ++ test/rejectlog/1108 | 3 ++ test/rejectlog/1109 | 1 + test/rejectlog/2003 | 3 -- test/rejectlog/2004 | 3 -- test/rejectlog/2005 | 3 -- test/rejectlog/2018 | 3 -- test/rejectlog/2023 | 1 - test/rejectlog/2103 | 3 -- test/rejectlog/2104 | 3 -- test/rejectlog/2105 | 3 -- test/rejectlog/2118 | 3 -- test/rejectlog/2123 | 1 - test/runtest | 5 +- test/scripts/1100-Basic-TLS/1103 | 50 +++++++++++++++++++ test/scripts/1100-Basic-TLS/1104 | 44 +++++++++++++++++ test/scripts/1100-Basic-TLS/1105 | 29 +++++++++++ test/scripts/1100-Basic-TLS/1106 | 18 +++++++ test/scripts/1100-Basic-TLS/1107 | 32 ++++++++++++ test/scripts/1100-Basic-TLS/1108 | 45 +++++++++++++++++ test/scripts/1100-Basic-TLS/1109 | 7 +++ test/scripts/1100-Basic-TLS/1110 | 41 +++++++++++++++ test/scripts/1100-Basic-TLS/1111 | 22 +++++++++ test/scripts/1100-Basic-TLS/1112 | 33 +++++++++++++ test/scripts/1100-Basic-TLS/1113 | 10 ++++ test/scripts/1100-Basic-TLS/1114 | 72 +++++++++++++++++++++++++++ test/scripts/1100-Basic-TLS/1149 | 15 ++++++ test/scripts/2000-GnuTLS/2003 | 50 ------------------- test/scripts/2000-GnuTLS/2004 | 44 ----------------- test/scripts/2000-GnuTLS/2005 | 29 ----------- test/scripts/2000-GnuTLS/2006 | 18 ------- test/scripts/2000-GnuTLS/2015 | 32 ------------ test/scripts/2000-GnuTLS/2018 | 45 ----------------- test/scripts/2000-GnuTLS/2019 | 41 --------------- test/scripts/2000-GnuTLS/2022 | 22 --------- test/scripts/2000-GnuTLS/2023 | 7 --- test/scripts/2000-GnuTLS/2028 | 33 ------------- test/scripts/2000-GnuTLS/2030 | 10 ---- test/scripts/2000-GnuTLS/2090 | 72 --------------------------- test/scripts/2000-GnuTLS/2099 | 14 ------ test/scripts/2100-OpenSSL/2103 | 49 ------------------ test/scripts/2100-OpenSSL/2104 | 43 ---------------- test/scripts/2100-OpenSSL/2105 | 28 ----------- test/scripts/2100-OpenSSL/2106 | 17 ------- test/scripts/2100-OpenSSL/2115 | 18 ------- test/scripts/2100-OpenSSL/2118 | 44 ----------------- test/scripts/2100-OpenSSL/2119 | 40 --------------- test/scripts/2100-OpenSSL/2122 | 21 -------- test/scripts/2100-OpenSSL/2123 | 6 --- test/scripts/2100-OpenSSL/2128 | 32 ------------ test/scripts/2100-OpenSSL/2130 | 11 ----- test/scripts/2100-OpenSSL/2190 | 71 -------------------------- test/scripts/2100-OpenSSL/2199 | 14 ------ test/stderr/2199 | 4 -- test/stdout/1103 | 72 +++++++++++++++++++++++++++ test/stdout/1104 | 59 ++++++++++++++++++++++ test/stdout/1105 | 37 ++++++++++++++ test/stdout/1106 | 23 +++++++++ test/stdout/1107 | 43 ++++++++++++++++ test/stdout/1108 | 64 ++++++++++++++++++++++++ test/stdout/1109 | 9 ++++ test/stdout/1110 | 57 +++++++++++++++++++++ test/stdout/1111 | 30 +++++++++++ test/stdout/1112 | 45 +++++++++++++++++ test/stdout/1114 | 104 +++++++++++++++++++++++++++++++++++++++ test/stdout/1149 | 4 ++ test/stdout/2003 | 72 --------------------------- test/stdout/2004 | 59 ---------------------- test/stdout/2005 | 37 -------------- test/stdout/2006 | 23 --------- test/stdout/2015 | 43 ---------------- test/stdout/2018 | 64 ------------------------ test/stdout/2019 | 57 --------------------- test/stdout/2022 | 30 ----------- test/stdout/2023 | 9 ---- test/stdout/2028 | 45 ----------------- test/stdout/2090 | 104 --------------------------------------- test/stdout/2099 | 4 -- test/stdout/2103 | 72 --------------------------- test/stdout/2104 | 59 ---------------------- test/stdout/2105 | 37 -------------- test/stdout/2106 | 23 --------- test/stdout/2115 | 23 --------- test/stdout/2118 | 64 ------------------------ test/stdout/2119 | 57 --------------------- test/stdout/2122 | 30 ----------- test/stdout/2123 | 9 ---- test/stdout/2128 | 45 ----------------- test/stdout/2190 | 104 --------------------------------------- test/stdout/2199 | 4 -- 182 files changed, 1559 insertions(+), 3027 deletions(-) create mode 100644 test/confs/1103 create mode 100644 test/confs/1104 create mode 100644 test/confs/1105 create mode 100644 test/confs/1106 create mode 100644 test/confs/1107 create mode 100644 test/confs/1108 create mode 100644 test/confs/1109 create mode 100644 test/confs/1110 create mode 100644 test/confs/1111 create mode 100644 test/confs/1112 create mode 100644 test/confs/1113 create mode 120000 test/confs/1114 create mode 100644 test/confs/1149 delete mode 100644 test/confs/2003 delete mode 100644 test/confs/2004 delete mode 100644 test/confs/2005 delete mode 100644 test/confs/2006 delete mode 100644 test/confs/2015 delete mode 100644 test/confs/2018 delete mode 100644 test/confs/2019 delete mode 100644 test/confs/2022 delete mode 100644 test/confs/2023 delete mode 100644 test/confs/2028 delete mode 100644 test/confs/2030 mode change 120000 => 100644 test/confs/2034 delete mode 120000 test/confs/2090 delete mode 100644 test/confs/2099 delete mode 100644 test/confs/2103 delete mode 100644 test/confs/2104 delete mode 100644 test/confs/2105 delete mode 100644 test/confs/2106 delete mode 100644 test/confs/2115 delete mode 100644 test/confs/2118 delete mode 100644 test/confs/2119 delete mode 100644 test/confs/2122 delete mode 100644 test/confs/2123 delete mode 100644 test/confs/2128 delete mode 100644 test/confs/2130 delete mode 120000 test/confs/2190 delete mode 100644 test/confs/2199 create mode 100644 test/log/1103 create mode 100644 test/log/1104 create mode 100644 test/log/1105 create mode 100644 test/log/1106 create mode 100644 test/log/1107 create mode 100644 test/log/1108 create mode 100644 test/log/1109 create mode 100644 test/log/1110 create mode 100644 test/log/1111 create mode 100644 test/log/1112 create mode 100644 test/log/1113 create mode 100644 test/log/1114 create mode 100644 test/log/1149 delete mode 100644 test/log/2003 delete mode 100644 test/log/2004 delete mode 100644 test/log/2005 delete mode 100644 test/log/2006 delete mode 100644 test/log/2015 delete mode 100644 test/log/2018 delete mode 100644 test/log/2019 delete mode 100644 test/log/2022 delete mode 100644 test/log/2023 delete mode 100644 test/log/2028 delete mode 100644 test/log/2030 delete mode 100644 test/log/2090 delete mode 100644 test/log/2099 delete mode 100644 test/log/2103 delete mode 100644 test/log/2104 delete mode 100644 test/log/2105 delete mode 100644 test/log/2106 delete mode 100644 test/log/2115 delete mode 100644 test/log/2118 delete mode 100644 test/log/2119 delete mode 100644 test/log/2122 delete mode 100644 test/log/2123 delete mode 100644 test/log/2128 delete mode 100644 test/log/2130 delete mode 100644 test/log/2190 delete mode 100644 test/log/2199 create mode 100644 test/mail/1103.userx create mode 100644 test/mail/1104.userx create mode 100644 test/mail/1110.userx delete mode 100644 test/mail/2003.userx delete mode 100644 test/mail/2004.userx delete mode 100644 test/mail/2019.userx delete mode 100644 test/mail/2103.userx delete mode 100644 test/mail/2104.userx delete mode 100644 test/mail/2119.userx create mode 100644 test/rejectlog/1103 create mode 100644 test/rejectlog/1104 create mode 100644 test/rejectlog/1105 create mode 100644 test/rejectlog/1108 create mode 100644 test/rejectlog/1109 delete mode 100644 test/rejectlog/2003 delete mode 100644 test/rejectlog/2004 delete mode 100644 test/rejectlog/2005 delete mode 100644 test/rejectlog/2018 delete mode 100644 test/rejectlog/2023 delete mode 100644 test/rejectlog/2103 delete mode 100644 test/rejectlog/2104 delete mode 100644 test/rejectlog/2105 delete mode 100644 test/rejectlog/2118 delete mode 100644 test/rejectlog/2123 create mode 100644 test/scripts/1100-Basic-TLS/1103 create mode 100644 test/scripts/1100-Basic-TLS/1104 create mode 100644 test/scripts/1100-Basic-TLS/1105 create mode 100644 test/scripts/1100-Basic-TLS/1106 create mode 100644 test/scripts/1100-Basic-TLS/1107 create mode 100644 test/scripts/1100-Basic-TLS/1108 create mode 100644 test/scripts/1100-Basic-TLS/1109 create mode 100644 test/scripts/1100-Basic-TLS/1110 create mode 100644 test/scripts/1100-Basic-TLS/1111 create mode 100644 test/scripts/1100-Basic-TLS/1112 create mode 100644 test/scripts/1100-Basic-TLS/1113 create mode 100644 test/scripts/1100-Basic-TLS/1114 create mode 100644 test/scripts/1100-Basic-TLS/1149 delete mode 100644 test/scripts/2000-GnuTLS/2003 delete mode 100644 test/scripts/2000-GnuTLS/2004 delete mode 100644 test/scripts/2000-GnuTLS/2005 delete mode 100644 test/scripts/2000-GnuTLS/2006 delete mode 100644 test/scripts/2000-GnuTLS/2015 delete mode 100644 test/scripts/2000-GnuTLS/2018 delete mode 100644 test/scripts/2000-GnuTLS/2019 delete mode 100644 test/scripts/2000-GnuTLS/2022 delete mode 100644 test/scripts/2000-GnuTLS/2023 delete mode 100644 test/scripts/2000-GnuTLS/2028 delete mode 100644 test/scripts/2000-GnuTLS/2030 delete mode 100644 test/scripts/2000-GnuTLS/2090 delete mode 100644 test/scripts/2000-GnuTLS/2099 delete mode 100644 test/scripts/2100-OpenSSL/2103 delete mode 100644 test/scripts/2100-OpenSSL/2104 delete mode 100644 test/scripts/2100-OpenSSL/2105 delete mode 100644 test/scripts/2100-OpenSSL/2106 delete mode 100644 test/scripts/2100-OpenSSL/2115 delete mode 100644 test/scripts/2100-OpenSSL/2118 delete mode 100644 test/scripts/2100-OpenSSL/2119 delete mode 100644 test/scripts/2100-OpenSSL/2122 delete mode 100644 test/scripts/2100-OpenSSL/2123 delete mode 100644 test/scripts/2100-OpenSSL/2128 delete mode 100644 test/scripts/2100-OpenSSL/2130 delete mode 100644 test/scripts/2100-OpenSSL/2190 delete mode 100644 test/scripts/2100-OpenSSL/2199 delete mode 100644 test/stderr/2199 create mode 100644 test/stdout/1103 create mode 100644 test/stdout/1104 create mode 100644 test/stdout/1105 create mode 100644 test/stdout/1106 create mode 100644 test/stdout/1107 create mode 100644 test/stdout/1108 create mode 100644 test/stdout/1109 create mode 100644 test/stdout/1110 create mode 100644 test/stdout/1111 create mode 100644 test/stdout/1112 create mode 100644 test/stdout/1114 create mode 100644 test/stdout/1149 delete mode 100644 test/stdout/2003 delete mode 100644 test/stdout/2004 delete mode 100644 test/stdout/2005 delete mode 100644 test/stdout/2006 delete mode 100644 test/stdout/2015 delete mode 100644 test/stdout/2018 delete mode 100644 test/stdout/2019 delete mode 100644 test/stdout/2022 delete mode 100644 test/stdout/2023 delete mode 100644 test/stdout/2028 delete mode 100644 test/stdout/2090 delete mode 100644 test/stdout/2099 delete mode 100644 test/stdout/2103 delete mode 100644 test/stdout/2104 delete mode 100644 test/stdout/2105 delete mode 100644 test/stdout/2106 delete mode 100644 test/stdout/2115 delete mode 100644 test/stdout/2118 delete mode 100644 test/stdout/2119 delete mode 100644 test/stdout/2122 delete mode 100644 test/stdout/2123 delete mode 100644 test/stdout/2128 delete mode 100644 test/stdout/2190 delete mode 100644 test/stdout/2199 (limited to 'test') diff --git a/test/confs/1103 b/test/confs/1103 new file mode 100644 index 000000000..f2b49c721 --- /dev/null +++ b/test/confs/1103 @@ -0,0 +1,59 @@ +# Exim test configuration 1103 + +.include DIR/aux-var/tls_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +acl_smtp_rcpt = check_recipient + +queue_only +queue_run_in_order + +tls_certificate = DIR/aux-fixed/cert1 +tls_privatekey = DIR/aux-fixed/cert1 + +tls_advertise_hosts = * + + +# ------ ACL ------ + +begin acl + +check_recipient: + deny message = unacceptable cipher $tls_cipher + !encrypted = ${if eq {$sender_host_address}{HOSTIPV4}{IDEA-CBC-MD5}{*}} + accept + + +# ----- Routers ----- + +begin routers + +abc: + driver = accept + retry_use_local_part + transport = local_delivery + + +# ----- Transports ----- + +begin transports + +local_delivery: + driver = appendfile + file = DIR/test-mail/${bless:$local_part} + headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn + user = CALLER + + +# ----- Retry ----- + + +begin retry + +* * F,5d,10s + + +# End diff --git a/test/confs/1104 b/test/confs/1104 new file mode 100644 index 000000000..cdb3d0fc2 --- /dev/null +++ b/test/confs/1104 @@ -0,0 +1,51 @@ +# Exim test configuration 1104 + +.include DIR/aux-var/tls_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +acl_smtp_rcpt = check_recipient +hostlist tls_hosts = 127.0.0.1 + +queue_only +queue_run_in_order + +tls_certificate = DIR/aux-fixed/cert1 +tls_privatekey = DIR/aux-fixed/cert1 + +tls_advertise_hosts = 127.0.0.1 : HOSTIPV4 + +# ----- ACL ----- + +begin acl + +check_recipient: + deny hosts = +tls_hosts + message = encryption required + !encrypted = * + accept + + +# ----- Routers ----- + +begin routers + +abc: + driver = accept + retry_use_local_part + transport = local_delivery + + +# ----- Transports ----- + +begin transports + +local_delivery: + driver = appendfile + file = DIR/test-mail/${bless:$local_part} + headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn + user = CALLER + +# End diff --git a/test/confs/1105 b/test/confs/1105 new file mode 100644 index 000000000..47f88e865 --- /dev/null +++ b/test/confs/1105 @@ -0,0 +1,60 @@ +# Exim test configuration 1105 + +.include DIR/aux-var/tls_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +acl_smtp_rcpt = check_recipient + +domainlist local_domains = test.ex +hostlist tls_relay_hosts = 127.0.0.1 + +queue_only +queue_run_in_order + +tls_advertise_hosts = * + +tls_certificate = DIR/aux-fixed/cert1 +tls_privatekey = DIR/aux-fixed/cert1 + +# ----- ACL ----- + +begin acl + +check_recipient: + accept domains = +local_domains + accept hosts = +tls_relay_hosts + endpass + message = encryption required + encrypted = * + deny message = relay not permitted + + +# ----- Routers ----- + +begin routers + +fail_remote_domains: + driver = redirect + domains = ! +local_domains + data = :fail: unrouteable mail domain "$domain" + +abc: + driver = accept + retry_use_local_part + transport = local_delivery + + +# ----- Transports ----- + +begin transports + +local_delivery: + driver = appendfile + file = DIR/test-mail/${bless:$local_part} + headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn + user = CALLER + +# End diff --git a/test/confs/1106 b/test/confs/1106 new file mode 100644 index 000000000..ffb826c7d --- /dev/null +++ b/test/confs/1106 @@ -0,0 +1,16 @@ +# Exim test configuration 1106 + +.include DIR/aux-var/tls_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +tls_advertise_hosts = * + +tls_certificate = DIR/aux-fixed/cert1 +tls_privatekey = DIR/aux-fixed/cert1 + +smtp_receive_timeout = 1s + +# End diff --git a/test/confs/1107 b/test/confs/1107 new file mode 100644 index 000000000..04ba363db --- /dev/null +++ b/test/confs/1107 @@ -0,0 +1,17 @@ +# Exim test configuration 1107 + +.include DIR/aux-var/tls_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +log_selector = +smtp_connection + +smtp_receive_timeout = 1s + +tls_advertise_hosts = * +tls_certificate = DIR/aux-fixed/cert1 +tls_privatekey = DIR/aux-fixed/cert1 + +# End diff --git a/test/confs/1108 b/test/confs/1108 new file mode 100644 index 000000000..9e6f9f1cc --- /dev/null +++ b/test/confs/1108 @@ -0,0 +1,26 @@ +# Exim test configuration 1108 + +.include DIR/aux-var/tls_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +queue_only + +tls_advertise_hosts = * +tls_certificate = DIR/aux-fixed/cert1 +tls_privatekey = DIR/aux-fixed/cert1 + +acl_smtp_rcpt = acl_tls + +# ------ ACLs ------ + +begin acl + +acl_tls: + accept endpass + message = "You must encrypt" + encrypted = * + +# End diff --git a/test/confs/1109 b/test/confs/1109 new file mode 100644 index 000000000..2c87586b9 --- /dev/null +++ b/test/confs/1109 @@ -0,0 +1,24 @@ +# Exim test configuration 1109 + +.include DIR/aux-var/tls_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +acl_smtp_starttls = starttls + +qualify_domain = test.ex +tls_advertise_hosts = * +tls_certificate = DIR/aux-fixed/cert1 +trusted_users = CALLER + + +# ----- ACLs ----- + +begin acl + +starttls: + accept hosts = 10.9.8.8 + +# End diff --git a/test/confs/1110 b/test/confs/1110 new file mode 100644 index 000000000..64309442e --- /dev/null +++ b/test/confs/1110 @@ -0,0 +1,59 @@ +# Exim test configuration 1110 + +.include DIR/aux-var/tls_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +acl_smtp_rcpt = check_recipient + +queue_only +queue_run_in_order + +tls_advertise_hosts = * + +tls_certificate = DIR/aux-fixed/cert1 +tls_privatekey = DIR/aux-fixed/cert1 + +tls_verify_hosts = HOSTIPV4 +tls_verify_certificates = DIR/aux-fixed/cert2 + + +# ------ ACL ------ + +begin acl + +check_recipient: + accept hosts = : + deny hosts = HOSTIPV4 + !encrypted = * + accept + + +# ----- Routers ----- + +begin routers + +abc: + driver = accept + retry_use_local_part + transport = local_delivery + + +# ----- Transports ----- + +begin transports + +local_delivery: + driver = appendfile + file = DIR/test-mail/${bless:$local_part} +.ifdef _HAVE_GNUTLS + headers_add = TLS: cipher=$tls_cipher peerdn/cn '${listextract {-1} {<, $tls_in_peerdn}}' +.endif +.ifdef _HAVE_OPENSSL + headers_add = TLS: cipher=$tls_cipher peerdn/cn '${listextract {-1} { + +# ----- Routers ----- + +begin routers + +client: + driver = accept + condition = ${if !eq {SERVER}{server}} + transport = send_to_server${if eq{$local_part}{abcd}{2}{1}} + +server: + driver = redirect + data = :blackhole: + + +# ----- Transports ----- + +begin transports + +send_to_server1: + driver = smtp + allow_localhost + hosts = HOSTIPV4 + port = PORT_D + hosts_try_fastopen = : + tls_sni = fred + tls_verify_certificates = DIR/aux-fixed/cert1 + tls_verify_cert_hostnames = : + +send_to_server2: + driver = smtp + allow_localhost + hosts = HOSTIPV4 + port = PORT_D + hosts_try_fastopen = : + tls_verify_certificates = DIR/aux-fixed/cert1 + tls_verify_cert_hostnames = : + + +# ----- Retry ----- + + +begin retry + +* * F,5d,10s + + +# End diff --git a/test/confs/1114 b/test/confs/1114 new file mode 120000 index 000000000..1bb987150 --- /dev/null +++ b/test/confs/1114 @@ -0,0 +1 @@ +0900 \ No newline at end of file diff --git a/test/confs/1149 b/test/confs/1149 new file mode 100644 index 000000000..737753109 --- /dev/null +++ b/test/confs/1149 @@ -0,0 +1,16 @@ +# Exim test configuration 1149 + +.include DIR/aux-var/tls_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +log_selector = +tls_peerdn + +tls_advertise_hosts = * + +tls_certificate = DIR/aux-fixed/cert1 +tls_privatekey = DIR/aux-fixed/cert1 + +# End diff --git a/test/confs/2003 b/test/confs/2003 deleted file mode 100644 index 0ce5fdb98..000000000 --- a/test/confs/2003 +++ /dev/null @@ -1,59 +0,0 @@ -# Exim test configuration 2003 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -acl_smtp_rcpt = check_recipient - -queue_only -queue_run_in_order - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -tls_advertise_hosts = * - - -# ------ ACL ------ - -begin acl - -check_recipient: - deny message = unacceptable cipher $tls_cipher - !encrypted = ${if eq {$sender_host_address}{HOSTIPV4}{IDEA-CBC-MD5}{*}} - accept - - -# ----- Routers ----- - -begin routers - -abc: - driver = accept - retry_use_local_part - transport = local_delivery - - -# ----- Transports ----- - -begin transports - -local_delivery: - driver = appendfile - file = DIR/test-mail/${bless:$local_part} - headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn - user = CALLER - - -# ----- Retry ----- - - -begin retry - -* * F,5d,10s - - -# End diff --git a/test/confs/2004 b/test/confs/2004 deleted file mode 100644 index f40e8ba83..000000000 --- a/test/confs/2004 +++ /dev/null @@ -1,51 +0,0 @@ -# Exim test configuration 2004 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -acl_smtp_rcpt = check_recipient -hostlist tls_hosts = 127.0.0.1 - -queue_only -queue_run_in_order - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -tls_advertise_hosts = 127.0.0.1 : HOSTIPV4 - -# ----- ACL ----- - -begin acl - -check_recipient: - deny hosts = +tls_hosts - message = encryption required - !encrypted = * - accept - - -# ----- Routers ----- - -begin routers - -abc: - driver = accept - retry_use_local_part - transport = local_delivery - - -# ----- Transports ----- - -begin transports - -local_delivery: - driver = appendfile - file = DIR/test-mail/${bless:$local_part} - headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn - user = CALLER - -# End diff --git a/test/confs/2005 b/test/confs/2005 deleted file mode 100644 index 442f0509c..000000000 --- a/test/confs/2005 +++ /dev/null @@ -1,60 +0,0 @@ -# Exim test configuration 2005 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -acl_smtp_rcpt = check_recipient - -domainlist local_domains = test.ex -hostlist tls_relay_hosts = 127.0.0.1 - -queue_only -queue_run_in_order - -tls_advertise_hosts = * - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -# ----- ACL ----- - -begin acl - -check_recipient: - accept domains = +local_domains - accept hosts = +tls_relay_hosts - endpass - message = encryption required - encrypted = * - deny message = relay not permitted - - -# ----- Routers ----- - -begin routers - -fail_remote_domains: - driver = redirect - domains = ! +local_domains - data = :fail: unrouteable mail domain "$domain" - -abc: - driver = accept - retry_use_local_part - transport = local_delivery - - -# ----- Transports ----- - -begin transports - -local_delivery: - driver = appendfile - file = DIR/test-mail/${bless:$local_part} - headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn - user = CALLER - -# End diff --git a/test/confs/2006 b/test/confs/2006 deleted file mode 100644 index 63ed36a4e..000000000 --- a/test/confs/2006 +++ /dev/null @@ -1,16 +0,0 @@ -# Exim test configuration 2006 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -tls_advertise_hosts = * - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -smtp_receive_timeout = 1s - -# End diff --git a/test/confs/2015 b/test/confs/2015 deleted file mode 100644 index e17fc29e9..000000000 --- a/test/confs/2015 +++ /dev/null @@ -1,17 +0,0 @@ -# Exim test configuration 2015 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -log_selector = +smtp_connection - -smtp_receive_timeout = 1s - -tls_advertise_hosts = * -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -# End diff --git a/test/confs/2018 b/test/confs/2018 deleted file mode 100644 index 58c1219e5..000000000 --- a/test/confs/2018 +++ /dev/null @@ -1,26 +0,0 @@ -# Exim test configuration 2018 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -queue_only - -tls_advertise_hosts = * -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -acl_smtp_rcpt = acl_tls - -# ------ ACLs ------ - -begin acl - -acl_tls: - accept endpass - message = "You must encrypt" - encrypted = * - -# End diff --git a/test/confs/2019 b/test/confs/2019 deleted file mode 100644 index 5d26fd033..000000000 --- a/test/confs/2019 +++ /dev/null @@ -1,56 +0,0 @@ -# Exim test configuration 2019 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -acl_smtp_rcpt = check_recipient - -log_selector = +tls_peerdn - -queue_only -queue_run_in_order - -tls_advertise_hosts = * - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -tls_verify_hosts = HOSTIPV4 -tls_verify_certificates = DIR/aux-fixed/cert2 - - -# ------ ACL ------ - -begin acl - -check_recipient: - accept hosts = : - deny hosts = HOSTIPV4 - !encrypted = * - accept - - -# ----- Routers ----- - -begin routers - -abc: - driver = accept - retry_use_local_part - transport = local_delivery - - -# ----- Transports ----- - -begin transports - -local_delivery: - driver = appendfile - file = DIR/test-mail/${bless:$local_part} - headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn - user = CALLER - -# End diff --git a/test/confs/2022 b/test/confs/2022 deleted file mode 100644 index 47892ceb5..000000000 --- a/test/confs/2022 +++ /dev/null @@ -1,14 +0,0 @@ -# Exim test configuration 2022 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -tls_advertise_hosts = * - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -# End diff --git a/test/confs/2023 b/test/confs/2023 deleted file mode 100644 index 9f1630929..000000000 --- a/test/confs/2023 +++ /dev/null @@ -1,24 +0,0 @@ -# Exim test configuration 2023 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -acl_smtp_starttls = starttls - -qualify_domain = test.ex -tls_advertise_hosts = * -tls_certificate = DIR/aux-fixed/cert1 -trusted_users = CALLER - - -# ----- ACLs ----- - -begin acl - -starttls: - accept hosts = 10.9.8.8 - -# End diff --git a/test/confs/2028 b/test/confs/2028 deleted file mode 100644 index 68ca077be..000000000 --- a/test/confs/2028 +++ /dev/null @@ -1,19 +0,0 @@ -# Exim test configuration 2028 - -SERVER= - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -tls_advertise_hosts = * - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -tls_on_connect_ports = PORT_D2 : PORT_D3 - - -# End diff --git a/test/confs/2030 b/test/confs/2030 deleted file mode 100644 index 490b35f60..000000000 --- a/test/confs/2030 +++ /dev/null @@ -1,75 +0,0 @@ -# Exim test configuration 2030 -# SNI - -SERVER = - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -domainlist local_domains = test.ex : *.test.ex - -acl_smtp_rcpt = acl_log_sni -log_selector = +tls_peerdn +tls_sni -remote_max_parallel = 1 - -tls_advertise_hosts = * - -# Set certificate only if server - -tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail} - - -# ------ ACL ------ - -begin acl - -acl_log_sni: - accept - logwrite = SNI <$tls_in_sni> - -# ----- Routers ----- - -begin routers - -client: - driver = accept - condition = ${if !eq {SERVER}{server}} - transport = send_to_server${if eq{$local_part}{abcd}{2}{1}} - -server: - driver = redirect - data = :blackhole: - - -# ----- Transports ----- - -begin transports - -send_to_server1: - driver = smtp - allow_localhost - hosts = HOSTIPV4 - port = PORT_D - hosts_try_fastopen = : - tls_sni = fred - -send_to_server2: - driver = smtp - allow_localhost - hosts = HOSTIPV4 - port = PORT_D - hosts_try_fastopen = : - - -# ----- Retry ----- - - -begin retry - -* * F,5d,10s - - -# End diff --git a/test/confs/2034 b/test/confs/2034 deleted file mode 120000 index 6d0f5c2f1..000000000 --- a/test/confs/2034 +++ /dev/null @@ -1 +0,0 @@ -2006 \ No newline at end of file diff --git a/test/confs/2034 b/test/confs/2034 new file mode 100644 index 000000000..ffb826c7d --- /dev/null +++ b/test/confs/2034 @@ -0,0 +1,16 @@ +# Exim test configuration 1106 + +.include DIR/aux-var/tls_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +tls_advertise_hosts = * + +tls_certificate = DIR/aux-fixed/cert1 +tls_privatekey = DIR/aux-fixed/cert1 + +smtp_receive_timeout = 1s + +# End diff --git a/test/confs/2090 b/test/confs/2090 deleted file mode 120000 index 1bb987150..000000000 --- a/test/confs/2090 +++ /dev/null @@ -1 +0,0 @@ -0900 \ No newline at end of file diff --git a/test/confs/2099 b/test/confs/2099 deleted file mode 100644 index ce24e0967..000000000 --- a/test/confs/2099 +++ /dev/null @@ -1,16 +0,0 @@ -# Exim test configuration 2019 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -log_selector = +tls_peerdn - -tls_advertise_hosts = * - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -# End diff --git a/test/confs/2103 b/test/confs/2103 deleted file mode 100644 index 5a8571f09..000000000 --- a/test/confs/2103 +++ /dev/null @@ -1,59 +0,0 @@ -# Exim test configuration 2103 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -acl_smtp_rcpt = check_recipient - -queue_only -queue_run_in_order - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -tls_advertise_hosts = * - - -# ------ ACL ------ - -begin acl - -check_recipient: - deny message = unacceptable cipher $tls_cipher - !encrypted = ${if eq {$sender_host_address}{HOSTIPV4}{IDEA-CBC-MD5}{*}} - accept - - -# ----- Routers ----- - -begin routers - -abc: - driver = accept - retry_use_local_part - transport = local_delivery - - -# ----- Transports ----- - -begin transports - -local_delivery: - driver = appendfile - file = DIR/test-mail/${bless:$local_part} - headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn - user = CALLER - - -# ----- Retry ----- - - -begin retry - -* * F,5d,10s - - -# End diff --git a/test/confs/2104 b/test/confs/2104 deleted file mode 100644 index d37523c8b..000000000 --- a/test/confs/2104 +++ /dev/null @@ -1,51 +0,0 @@ -# Exim test configuration 2104 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -acl_smtp_rcpt = check_recipient -hostlist tls_hosts = 127.0.0.1 - -queue_only -queue_run_in_order - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -tls_advertise_hosts = 127.0.0.1 : HOSTIPV4 - -# ----- ACL ----- - -begin acl - -check_recipient: - deny hosts = +tls_hosts - message = encryption required - !encrypted = * - accept - - -# ----- Routers ----- - -begin routers - -abc: - driver = accept - retry_use_local_part - transport = local_delivery - - -# ----- Transports ----- - -begin transports - -local_delivery: - driver = appendfile - file = DIR/test-mail/${bless:$local_part} - headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn - user = CALLER - -# End diff --git a/test/confs/2105 b/test/confs/2105 deleted file mode 100644 index 7cbbdf017..000000000 --- a/test/confs/2105 +++ /dev/null @@ -1,60 +0,0 @@ -# Exim test configuration 2105 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -acl_smtp_rcpt = check_recipient - -domainlist local_domains = test.ex -hostlist tls_relay_hosts = 127.0.0.1 - -queue_only -queue_run_in_order - -tls_advertise_hosts = * - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -# ----- ACL ----- - -begin acl - -check_recipient: - accept domains = +local_domains - accept hosts = +tls_relay_hosts - endpass - message = encryption required - encrypted = * - deny message = relay not permitted - - -# ----- Routers ----- - -begin routers - -fail_remote_domains: - driver = redirect - domains = ! +local_domains - data = :fail: unrouteable mail domain "$domain" - -abc: - driver = accept - retry_use_local_part - transport = local_delivery - - -# ----- Transports ----- - -begin transports - -local_delivery: - driver = appendfile - file = DIR/test-mail/${bless:$local_part} - headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn - user = CALLER - -# End diff --git a/test/confs/2106 b/test/confs/2106 deleted file mode 100644 index 56d8d6a3d..000000000 --- a/test/confs/2106 +++ /dev/null @@ -1,16 +0,0 @@ -# Exim test configuration 2106 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -tls_advertise_hosts = * - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -smtp_receive_timeout = 1s - -# End diff --git a/test/confs/2115 b/test/confs/2115 deleted file mode 100644 index ab1f6dcdd..000000000 --- a/test/confs/2115 +++ /dev/null @@ -1,17 +0,0 @@ -# Exim test configuration 2115 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -log_selector = +smtp_connection - -smtp_receive_timeout = 1s - -tls_advertise_hosts = * -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -# End diff --git a/test/confs/2118 b/test/confs/2118 deleted file mode 100644 index d3e77201d..000000000 --- a/test/confs/2118 +++ /dev/null @@ -1,26 +0,0 @@ -# Exim test configuration 2118 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -queue_only - -tls_advertise_hosts = * -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -acl_smtp_rcpt = acl_tls - -# ------ ACLs ------ - -begin acl - -acl_tls: - accept endpass - message = "You must encrypt" - encrypted = * - -# End diff --git a/test/confs/2119 b/test/confs/2119 deleted file mode 100644 index 64987c8c0..000000000 --- a/test/confs/2119 +++ /dev/null @@ -1,56 +0,0 @@ -# Exim test configuration 2119 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -acl_smtp_rcpt = check_recipient - -log_selector = +tls_peerdn - -queue_only -queue_run_in_order - -tls_advertise_hosts = * - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -tls_verify_hosts = HOSTIPV4 -tls_verify_certificates = DIR/aux-fixed/cert2 - - -# ------ ACL ------ - -begin acl - -check_recipient: - accept hosts = : - deny hosts = HOSTIPV4 - !encrypted = * - accept - - -# ----- Routers ----- - -begin routers - -abc: - driver = accept - retry_use_local_part - transport = local_delivery - - -# ----- Transports ----- - -begin transports - -local_delivery: - driver = appendfile - file = DIR/test-mail/${bless:$local_part} - headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn - user = CALLER - -# End diff --git a/test/confs/2122 b/test/confs/2122 deleted file mode 100644 index 154603d5d..000000000 --- a/test/confs/2122 +++ /dev/null @@ -1,14 +0,0 @@ -# Exim test configuration 2122 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -tls_advertise_hosts = * - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -# End diff --git a/test/confs/2123 b/test/confs/2123 deleted file mode 100644 index 8c89e9aae..000000000 --- a/test/confs/2123 +++ /dev/null @@ -1,24 +0,0 @@ -# Exim test configuration 2123 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -acl_smtp_starttls = starttls - -qualify_domain = test.ex -tls_advertise_hosts = * -tls_certificate = DIR/aux-fixed/cert1 -trusted_users = CALLER - - -# ----- ACLs ----- - -begin acl - -starttls: - accept hosts = 10.9.8.8 - -# End diff --git a/test/confs/2128 b/test/confs/2128 deleted file mode 100644 index ecdb68be0..000000000 --- a/test/confs/2128 +++ /dev/null @@ -1,19 +0,0 @@ -# Exim test configuration 2128 - -SERVER= - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -tls_advertise_hosts = * - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -tls_on_connect_ports = PORT_D2 : PORT_D3 - - -# End diff --git a/test/confs/2130 b/test/confs/2130 deleted file mode 100644 index 0559bba53..000000000 --- a/test/confs/2130 +++ /dev/null @@ -1,76 +0,0 @@ -# Exim test configuration 2130 -# SNI - -SERVER = - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -domainlist local_domains = test.ex : *.test.ex - -acl_smtp_rcpt = acl_log_sni -log_selector = +tls_peerdn +tls_sni -remote_max_parallel = 1 - -tls_advertise_hosts = * -tls_certificate = DIR/aux-fixed/cert1 - - -# ------ ACL ------ - -begin acl - -acl_log_sni: - accept - logwrite = SNI <$tls_in_sni> - -# ----- Routers ----- - -begin routers - -client: - driver = accept - condition = ${if !eq {SERVER}{server}} - transport = send_to_server${if eq{$local_part}{abcd}{2}{1}} - -server: - driver = redirect - data = :blackhole: - - -# ----- Transports ----- - -begin transports - -send_to_server1: - driver = smtp - allow_localhost - hosts = HOSTIPV4 - port = PORT_D - hosts_try_fastopen = : - tls_sni = fred - tls_verify_certificates = DIR/aux-fixed/cert1 - tls_verify_cert_hostnames = : - -send_to_server2: - driver = smtp - allow_localhost - hosts = HOSTIPV4 - port = PORT_D - hosts_try_fastopen = : - tls_verify_certificates = DIR/aux-fixed/cert1 - tls_verify_cert_hostnames = : - - -# ----- Retry ----- - - -begin retry - -* * F,5d,10s - - -# End diff --git a/test/confs/2190 b/test/confs/2190 deleted file mode 120000 index 1bb987150..000000000 --- a/test/confs/2190 +++ /dev/null @@ -1 +0,0 @@ -0900 \ No newline at end of file diff --git a/test/confs/2199 b/test/confs/2199 deleted file mode 100644 index db3fbb0f0..000000000 --- a/test/confs/2199 +++ /dev/null @@ -1,16 +0,0 @@ -# Exim test configuration 2119 - -.include DIR/aux-var/tls_conf_prefix - -primary_hostname = myhost.test.ex - -# ----- Main settings ----- - -log_selector = +tls_peerdn - -tls_advertise_hosts = * - -tls_certificate = DIR/aux-fixed/cert1 -tls_privatekey = DIR/aux-fixed/cert1 - -# End diff --git a/test/log/1103 b/test/log/1103 new file mode 100644 index 000000000..fb09e79fc --- /dev/null +++ b/test/log/1103 @@ -0,0 +1,9 @@ +1999-03-02 09:44:33 Start queue run: pid=pppp -qf +1999-03-02 09:44:33 10HmaX-0005vi-00 => userx R=abc T=local_delivery +1999-03-02 09:44:33 10HmaX-0005vi-00 Completed +1999-03-02 09:44:33 End queue run: pid=pppp -qf + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D +1999-03-02 09:44:33 H=[ip4.ip4.ip4.ip4] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no F= rejected RCPT : unacceptable cipher TLS1.x:ke-RSA-AES256-SHAnnn:xxx +1999-03-02 09:44:33 10HmaX-0005vi-00 <= userx@test.ex H=(rhu.barb) [127.0.0.1] P=smtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss diff --git a/test/log/1104 b/test/log/1104 new file mode 100644 index 000000000..c32814637 --- /dev/null +++ b/test/log/1104 @@ -0,0 +1,9 @@ +1999-03-02 09:44:33 Start queue run: pid=pppp -qf +1999-03-02 09:44:33 10HmaX-0005vi-00 => userx R=abc T=local_delivery +1999-03-02 09:44:33 10HmaX-0005vi-00 Completed +1999-03-02 09:44:33 End queue run: pid=pppp -qf + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D +1999-03-02 09:44:33 H=(rhu.barb) [127.0.0.1] F= rejected RCPT : encryption required +1999-03-02 09:44:33 10HmaX-0005vi-00 <= userx@test.ex H=(rhu.barb) [ip4.ip4.ip4.ip4] P=esmtp S=sss diff --git a/test/log/1105 b/test/log/1105 new file mode 100644 index 000000000..cfe8981bd --- /dev/null +++ b/test/log/1105 @@ -0,0 +1,6 @@ +1999-03-02 09:44:33 Start queue run: pid=pppp -qf +1999-03-02 09:44:33 End queue run: pid=pppp -qf + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D +1999-03-02 09:44:33 H=[127.0.0.1] F= rejected RCPT : encryption required diff --git a/test/log/1106 b/test/log/1106 new file mode 100644 index 000000000..ccbc80fcb --- /dev/null +++ b/test/log/1106 @@ -0,0 +1,4 @@ + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D +1999-03-02 09:44:33 SMTP command timeout on TLS connection from [127.0.0.1] diff --git a/test/log/1107 b/test/log/1107 new file mode 100644 index 000000000..56ccf3579 --- /dev/null +++ b/test/log/1107 @@ -0,0 +1,9 @@ + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D +1999-03-02 09:44:33 SMTP connection from [127.0.0.1] (TCP/IP connection count = 1) +1999-03-02 09:44:33 TLS error on connection from (timeout.rhu.barb) [127.0.0.1] (tls lib accept fn): timed out +1999-03-02 09:44:33 SMTP command timeout on connection from (timeout.rhu.barb) [127.0.0.1] +1999-03-02 09:44:33 SMTP connection from [127.0.0.1] (TCP/IP connection count = 1) +1999-03-02 09:44:33 TLS error on connection from (close.rhu.barb) [127.0.0.1] (tls lib accept fn): TCP connection closed by peer +1999-03-02 09:44:33 SMTP connection from (close.rhu.barb) [127.0.0.1] closed by EOF diff --git a/test/log/1108 b/test/log/1108 new file mode 100644 index 000000000..f45aba391 --- /dev/null +++ b/test/log/1108 @@ -0,0 +1,5 @@ + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D +1999-03-02 09:44:33 10HmaX-0005vi-00 <= userx@test.ex H=[127.0.0.1] P=smtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss +1999-03-02 09:44:33 H=(rhu.barb) [127.0.0.1] F= rejected RCPT : "You must encrypt" diff --git a/test/log/1109 b/test/log/1109 new file mode 100644 index 000000000..29f12c94a --- /dev/null +++ b/test/log/1109 @@ -0,0 +1 @@ +1999-03-02 09:44:33 H=(a.b.c) [10.9.8.10] U=CALLER rejected STARTTLS diff --git a/test/log/1110 b/test/log/1110 new file mode 100644 index 000000000..fc4b59e3c --- /dev/null +++ b/test/log/1110 @@ -0,0 +1,11 @@ +1999-03-02 09:44:33 Start queue run: pid=pppp -qf +1999-03-02 09:44:33 10HmaX-0005vi-00 => userx R=abc T=local_delivery +1999-03-02 09:44:33 10HmaX-0005vi-00 Completed +1999-03-02 09:44:33 10HmaY-0005vi-00 => userx R=abc T=local_delivery +1999-03-02 09:44:33 10HmaY-0005vi-00 Completed +1999-03-02 09:44:33 End queue run: pid=pppp -qf + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTPS on port PORT_D +1999-03-02 09:44:33 10HmaX-0005vi-00 <= userx@test.ex H=(rhu.barb) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss +1999-03-02 09:44:33 10HmaY-0005vi-00 <= userx@test.ex H=[ip4.ip4.ip4.ip4] P=smtp X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes S=sss diff --git a/test/log/1111 b/test/log/1111 new file mode 100644 index 000000000..6161c31ba --- /dev/null +++ b/test/log/1111 @@ -0,0 +1,3 @@ + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D diff --git a/test/log/1112 b/test/log/1112 new file mode 100644 index 000000000..e6311910e --- /dev/null +++ b/test/log/1112 @@ -0,0 +1,3 @@ + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D and for SMTPS on port PORT_D2 port PORT_D3 diff --git a/test/log/1113 b/test/log/1113 new file mode 100644 index 000000000..a23e6ce57 --- /dev/null +++ b/test/log/1113 @@ -0,0 +1,10 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmaX-0005vi-00 => CALLER@test.ex R=client T=send_to_server1 H=ip4.ip4.ip4.ip4 [ip4.ip4.ip4.ip4] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmaY-0005vi-00" +1999-03-02 09:44:33 10HmaX-0005vi-00 Completed + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D +1999-03-02 09:44:33 SNI +1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@myhost.test.ex H=the.local.host.name (myhost.test.ex) [ip4.ip4.ip4.ip4] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no SNI=fred S=sss id=E10HmaX-0005vi-00@myhost.test.ex +1999-03-02 09:44:33 10HmaY-0005vi-00 => :blackhole: R=server +1999-03-02 09:44:33 10HmaY-0005vi-00 Completed diff --git a/test/log/1114 b/test/log/1114 new file mode 100644 index 000000000..f3e5e78ab --- /dev/null +++ b/test/log/1114 @@ -0,0 +1,5 @@ + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D +1999-03-02 09:44:33 10HmaX-0005vi-00 <= someone@some.domain H=(rhu.barb) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no K S=sss for CALLER@test.ex +1999-03-02 09:44:33 10HmaY-0005vi-00 <= someone@some.domain H=(rhu.barb) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no K S=sss for CALLER@test.ex diff --git a/test/log/1149 b/test/log/1149 new file mode 100644 index 000000000..c0f8a663a --- /dev/null +++ b/test/log/1149 @@ -0,0 +1,3 @@ + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTPS on port PORT_D diff --git a/test/log/2003 b/test/log/2003 deleted file mode 100644 index fb09e79fc..000000000 --- a/test/log/2003 +++ /dev/null @@ -1,9 +0,0 @@ -1999-03-02 09:44:33 Start queue run: pid=pppp -qf -1999-03-02 09:44:33 10HmaX-0005vi-00 => userx R=abc T=local_delivery -1999-03-02 09:44:33 10HmaX-0005vi-00 Completed -1999-03-02 09:44:33 End queue run: pid=pppp -qf - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 H=[ip4.ip4.ip4.ip4] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no F= rejected RCPT : unacceptable cipher TLS1.x:ke-RSA-AES256-SHAnnn:xxx -1999-03-02 09:44:33 10HmaX-0005vi-00 <= userx@test.ex H=(rhu.barb) [127.0.0.1] P=smtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss diff --git a/test/log/2004 b/test/log/2004 deleted file mode 100644 index c32814637..000000000 --- a/test/log/2004 +++ /dev/null @@ -1,9 +0,0 @@ -1999-03-02 09:44:33 Start queue run: pid=pppp -qf -1999-03-02 09:44:33 10HmaX-0005vi-00 => userx R=abc T=local_delivery -1999-03-02 09:44:33 10HmaX-0005vi-00 Completed -1999-03-02 09:44:33 End queue run: pid=pppp -qf - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 H=(rhu.barb) [127.0.0.1] F= rejected RCPT : encryption required -1999-03-02 09:44:33 10HmaX-0005vi-00 <= userx@test.ex H=(rhu.barb) [ip4.ip4.ip4.ip4] P=esmtp S=sss diff --git a/test/log/2005 b/test/log/2005 deleted file mode 100644 index cfe8981bd..000000000 --- a/test/log/2005 +++ /dev/null @@ -1,6 +0,0 @@ -1999-03-02 09:44:33 Start queue run: pid=pppp -qf -1999-03-02 09:44:33 End queue run: pid=pppp -qf - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 H=[127.0.0.1] F= rejected RCPT : encryption required diff --git a/test/log/2006 b/test/log/2006 deleted file mode 100644 index ccbc80fcb..000000000 --- a/test/log/2006 +++ /dev/null @@ -1,4 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 SMTP command timeout on TLS connection from [127.0.0.1] diff --git a/test/log/2015 b/test/log/2015 deleted file mode 100644 index eedf12e52..000000000 --- a/test/log/2015 +++ /dev/null @@ -1,9 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 SMTP connection from [127.0.0.1] (TCP/IP connection count = 1) -1999-03-02 09:44:33 TLS error on connection from (timeout.rhu.barb) [127.0.0.1] (gnutls_handshake): timed out -1999-03-02 09:44:33 SMTP command timeout on connection from (timeout.rhu.barb) [127.0.0.1] -1999-03-02 09:44:33 SMTP connection from [127.0.0.1] (TCP/IP connection count = 1) -1999-03-02 09:44:33 TLS error on connection from (close.rhu.barb) [127.0.0.1] (gnutls_handshake): The TLS connection was non-properly terminated. -1999-03-02 09:44:33 SMTP connection from (close.rhu.barb) [127.0.0.1] closed by EOF diff --git a/test/log/2018 b/test/log/2018 deleted file mode 100644 index f45aba391..000000000 --- a/test/log/2018 +++ /dev/null @@ -1,5 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 10HmaX-0005vi-00 <= userx@test.ex H=[127.0.0.1] P=smtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss -1999-03-02 09:44:33 H=(rhu.barb) [127.0.0.1] F= rejected RCPT : "You must encrypt" diff --git a/test/log/2019 b/test/log/2019 deleted file mode 100644 index cc5d14649..000000000 --- a/test/log/2019 +++ /dev/null @@ -1,11 +0,0 @@ -1999-03-02 09:44:33 Start queue run: pid=pppp -qf -1999-03-02 09:44:33 10HmaX-0005vi-00 => userx R=abc T=local_delivery -1999-03-02 09:44:33 10HmaX-0005vi-00 Completed -1999-03-02 09:44:33 10HmaY-0005vi-00 => userx R=abc T=local_delivery -1999-03-02 09:44:33 10HmaY-0005vi-00 Completed -1999-03-02 09:44:33 End queue run: pid=pppp -qf - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTPS on port PORT_D -1999-03-02 09:44:33 10HmaX-0005vi-00 <= userx@test.ex H=(rhu.barb) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss -1999-03-02 09:44:33 10HmaY-0005vi-00 <= userx@test.ex H=[ip4.ip4.ip4.ip4] P=smtp X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes DN="C=UK,O=The Exim Maintainers,OU=Test Suite,CN=Phil Pennock" S=sss diff --git a/test/log/2022 b/test/log/2022 deleted file mode 100644 index 6161c31ba..000000000 --- a/test/log/2022 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D diff --git a/test/log/2023 b/test/log/2023 deleted file mode 100644 index 29f12c94a..000000000 --- a/test/log/2023 +++ /dev/null @@ -1 +0,0 @@ -1999-03-02 09:44:33 H=(a.b.c) [10.9.8.10] U=CALLER rejected STARTTLS diff --git a/test/log/2028 b/test/log/2028 deleted file mode 100644 index e6311910e..000000000 --- a/test/log/2028 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D and for SMTPS on port PORT_D2 port PORT_D3 diff --git a/test/log/2030 b/test/log/2030 deleted file mode 100644 index 9c926fd6e..000000000 --- a/test/log/2030 +++ /dev/null @@ -1,10 +0,0 @@ -1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss -1999-03-02 09:44:33 10HmaX-0005vi-00 => CALLER@test.ex R=client T=send_to_server1 H=ip4.ip4.ip4.ip4 [ip4.ip4.ip4.ip4] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no DN="C=UK,O=The Exim Maintainers,OU=Test Suite,CN=Phil Pennock" C="250 OK id=10HmaY-0005vi-00" -1999-03-02 09:44:33 10HmaX-0005vi-00 Completed - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 SNI -1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@myhost.test.ex H=the.local.host.name (myhost.test.ex) [ip4.ip4.ip4.ip4] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no SNI=fred S=sss id=E10HmaX-0005vi-00@myhost.test.ex -1999-03-02 09:44:33 10HmaY-0005vi-00 => :blackhole: R=server -1999-03-02 09:44:33 10HmaY-0005vi-00 Completed diff --git a/test/log/2034 b/test/log/2034 index 9f17fed12..bcc3bb493 100644 --- a/test/log/2034 +++ b/test/log/2034 @@ -1,6 +1,6 @@ ******** SERVER ******** 1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 TLS error on connection from (rhu1.barb) [127.0.0.1] (gnutls_handshake): timed out +1999-03-02 09:44:33 TLS error on connection from (rhu1.barb) [127.0.0.1] (tls lib accept fn): timed out 1999-03-02 09:44:33 SMTP command timeout on connection from (rhu1.barb) [127.0.0.1] 1999-03-02 09:44:33 TLS error on connection from (rhu2.barb) [127.0.0.1] (gnutls_handshake): An unexpected TLS packet was received. diff --git a/test/log/2090 b/test/log/2090 deleted file mode 100644 index f3e5e78ab..000000000 --- a/test/log/2090 +++ /dev/null @@ -1,5 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 10HmaX-0005vi-00 <= someone@some.domain H=(rhu.barb) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no K S=sss for CALLER@test.ex -1999-03-02 09:44:33 10HmaY-0005vi-00 <= someone@some.domain H=(rhu.barb) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no K S=sss for CALLER@test.ex diff --git a/test/log/2099 b/test/log/2099 deleted file mode 100644 index c0f8a663a..000000000 --- a/test/log/2099 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTPS on port PORT_D diff --git a/test/log/2103 b/test/log/2103 deleted file mode 100644 index fb09e79fc..000000000 --- a/test/log/2103 +++ /dev/null @@ -1,9 +0,0 @@ -1999-03-02 09:44:33 Start queue run: pid=pppp -qf -1999-03-02 09:44:33 10HmaX-0005vi-00 => userx R=abc T=local_delivery -1999-03-02 09:44:33 10HmaX-0005vi-00 Completed -1999-03-02 09:44:33 End queue run: pid=pppp -qf - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 H=[ip4.ip4.ip4.ip4] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no F= rejected RCPT : unacceptable cipher TLS1.x:ke-RSA-AES256-SHAnnn:xxx -1999-03-02 09:44:33 10HmaX-0005vi-00 <= userx@test.ex H=(rhu.barb) [127.0.0.1] P=smtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss diff --git a/test/log/2104 b/test/log/2104 deleted file mode 100644 index c32814637..000000000 --- a/test/log/2104 +++ /dev/null @@ -1,9 +0,0 @@ -1999-03-02 09:44:33 Start queue run: pid=pppp -qf -1999-03-02 09:44:33 10HmaX-0005vi-00 => userx R=abc T=local_delivery -1999-03-02 09:44:33 10HmaX-0005vi-00 Completed -1999-03-02 09:44:33 End queue run: pid=pppp -qf - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 H=(rhu.barb) [127.0.0.1] F= rejected RCPT : encryption required -1999-03-02 09:44:33 10HmaX-0005vi-00 <= userx@test.ex H=(rhu.barb) [ip4.ip4.ip4.ip4] P=esmtp S=sss diff --git a/test/log/2105 b/test/log/2105 deleted file mode 100644 index cfe8981bd..000000000 --- a/test/log/2105 +++ /dev/null @@ -1,6 +0,0 @@ -1999-03-02 09:44:33 Start queue run: pid=pppp -qf -1999-03-02 09:44:33 End queue run: pid=pppp -qf - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 H=[127.0.0.1] F= rejected RCPT : encryption required diff --git a/test/log/2106 b/test/log/2106 deleted file mode 100644 index ccbc80fcb..000000000 --- a/test/log/2106 +++ /dev/null @@ -1,4 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 SMTP command timeout on TLS connection from [127.0.0.1] diff --git a/test/log/2111 b/test/log/2111 index d642c0435..fe68f5af0 100644 --- a/test/log/2111 +++ b/test/log/2111 @@ -8,5 +8,5 @@ ******** SERVER ******** 1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 TLS error on connection from the.local.host.name (myhost.test.ex) [ip4.ip4.ip4.ip4] SSL_accept: TCP connection closed by peer +1999-03-02 09:44:33 TLS error on connection from the.local.host.name (myhost.test.ex) [ip4.ip4.ip4.ip4] (tls lib accept fn): TCP connection closed by peer 1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@myhost.test.ex H=localhost (myhost.test.ex) [127.0.0.1] P=esmtps X=TLS1.x:AES256-SHA:256 CV=yes DN="/C=UK/O=The Exim Maintainers/OU=Test Suite/CN=Phil Pennock" S=sss id=E10HmaX-0005vi-00@myhost.test.ex diff --git a/test/log/2115 b/test/log/2115 deleted file mode 100644 index c49e4922b..000000000 --- a/test/log/2115 +++ /dev/null @@ -1,6 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 SMTP connection from [127.0.0.1] (TCP/IP connection count = 1) -1999-03-02 09:44:33 TLS error on connection from (rhu.barb) [127.0.0.1] (SSL_accept): timed out -1999-03-02 09:44:33 SMTP command timeout on connection from (rhu.barb) [127.0.0.1] diff --git a/test/log/2118 b/test/log/2118 deleted file mode 100644 index f45aba391..000000000 --- a/test/log/2118 +++ /dev/null @@ -1,5 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 10HmaX-0005vi-00 <= userx@test.ex H=[127.0.0.1] P=smtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss -1999-03-02 09:44:33 H=(rhu.barb) [127.0.0.1] F= rejected RCPT : "You must encrypt" diff --git a/test/log/2119 b/test/log/2119 deleted file mode 100644 index 02e430d72..000000000 --- a/test/log/2119 +++ /dev/null @@ -1,11 +0,0 @@ -1999-03-02 09:44:33 Start queue run: pid=pppp -qf -1999-03-02 09:44:33 10HmaX-0005vi-00 => userx R=abc T=local_delivery -1999-03-02 09:44:33 10HmaX-0005vi-00 Completed -1999-03-02 09:44:33 10HmaY-0005vi-00 => userx R=abc T=local_delivery -1999-03-02 09:44:33 10HmaY-0005vi-00 Completed -1999-03-02 09:44:33 End queue run: pid=pppp -qf - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTPS on port PORT_D -1999-03-02 09:44:33 10HmaX-0005vi-00 <= userx@test.ex H=(rhu.barb) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss -1999-03-02 09:44:33 10HmaY-0005vi-00 <= userx@test.ex H=[ip4.ip4.ip4.ip4] P=smtp X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes DN="/C=UK/O=The Exim Maintainers/OU=Test Suite/CN=Phil Pennock" S=sss diff --git a/test/log/2122 b/test/log/2122 deleted file mode 100644 index 6161c31ba..000000000 --- a/test/log/2122 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D diff --git a/test/log/2123 b/test/log/2123 deleted file mode 100644 index 29f12c94a..000000000 --- a/test/log/2123 +++ /dev/null @@ -1 +0,0 @@ -1999-03-02 09:44:33 H=(a.b.c) [10.9.8.10] U=CALLER rejected STARTTLS diff --git a/test/log/2128 b/test/log/2128 deleted file mode 100644 index e6311910e..000000000 --- a/test/log/2128 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D and for SMTPS on port PORT_D2 port PORT_D3 diff --git a/test/log/2130 b/test/log/2130 deleted file mode 100644 index 09c83a972..000000000 --- a/test/log/2130 +++ /dev/null @@ -1,10 +0,0 @@ -1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss -1999-03-02 09:44:33 10HmaX-0005vi-00 => CALLER@test.ex R=client T=send_to_server1 H=ip4.ip4.ip4.ip4 [ip4.ip4.ip4.ip4] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes DN="/C=UK/O=The Exim Maintainers/OU=Test Suite/CN=Phil Pennock" C="250 OK id=10HmaY-0005vi-00" -1999-03-02 09:44:33 10HmaX-0005vi-00 Completed - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 SNI -1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@myhost.test.ex H=the.local.host.name (myhost.test.ex) [ip4.ip4.ip4.ip4] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no SNI=fred S=sss id=E10HmaX-0005vi-00@myhost.test.ex -1999-03-02 09:44:33 10HmaY-0005vi-00 => :blackhole: R=server -1999-03-02 09:44:33 10HmaY-0005vi-00 Completed diff --git a/test/log/2190 b/test/log/2190 deleted file mode 100644 index f3e5e78ab..000000000 --- a/test/log/2190 +++ /dev/null @@ -1,5 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 10HmaX-0005vi-00 <= someone@some.domain H=(rhu.barb) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no K S=sss for CALLER@test.ex -1999-03-02 09:44:33 10HmaY-0005vi-00 <= someone@some.domain H=(rhu.barb) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no K S=sss for CALLER@test.ex diff --git a/test/log/2199 b/test/log/2199 deleted file mode 100644 index c0f8a663a..000000000 --- a/test/log/2199 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTPS on port PORT_D diff --git a/test/mail/1103.userx b/test/mail/1103.userx new file mode 100644 index 000000000..66c128b68 --- /dev/null +++ b/test/mail/1103.userx @@ -0,0 +1,11 @@ +From userx@test.ex Tue Mar 02 09:44:33 1999 +Received: from [127.0.0.1] (helo=rhu.barb) + by myhost.test.ex with smtps (TLS1.x:ke-RSA-AES256-SHAnnn:xxx) + (Exim x.yz) + (envelope-from ) + id 10HmaX-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +TLS: cipher=TLS1.x:ke-RSA-AES256-SHAnnn:xxx peerdn= + +This is a test encrypted message. + diff --git a/test/mail/1104.userx b/test/mail/1104.userx new file mode 100644 index 000000000..232d7a7d6 --- /dev/null +++ b/test/mail/1104.userx @@ -0,0 +1,10 @@ +From userx@test.ex Tue Mar 02 09:44:33 1999 +Received: from [ip4.ip4.ip4.ip4] (helo=rhu.barb) + by myhost.test.ex with esmtp (Exim x.yz) + (envelope-from ) + id 10HmaX-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +TLS: cipher= peerdn= + +This is a test unencrypted message. + diff --git a/test/mail/1110.userx b/test/mail/1110.userx new file mode 100644 index 000000000..b0fce8611 --- /dev/null +++ b/test/mail/1110.userx @@ -0,0 +1,22 @@ +From userx@test.ex Tue Mar 02 09:44:33 1999 +Received: from [127.0.0.1] (helo=rhu.barb) + by myhost.test.ex with esmtps (TLS1.x:ke-RSA-AES256-SHAnnn:xxx) + (Exim x.yz) + (envelope-from ) + id 10HmaX-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +TLS: cipher=TLS1.x:ke-RSA-AES256-SHAnnn:xxx peerdn/cn '' + +This is a test encrypted message. + +From userx@test.ex Tue Mar 02 09:44:33 1999 +Received: from [ip4.ip4.ip4.ip4] + by myhost.test.ex with smtp (TLS1.x:ke-RSA-AES256-SHAnnn:xxx) + (Exim x.yz) + (envelope-from ) + id 10HmaY-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +TLS: cipher=TLS1.x:ke-RSA-AES256-SHAnnn:xxx peerdn/cn 'CN=Phil Pennock' + +This is a test encrypted message from a verified host. + diff --git a/test/mail/2003.userx b/test/mail/2003.userx deleted file mode 100644 index 66c128b68..000000000 --- a/test/mail/2003.userx +++ /dev/null @@ -1,11 +0,0 @@ -From userx@test.ex Tue Mar 02 09:44:33 1999 -Received: from [127.0.0.1] (helo=rhu.barb) - by myhost.test.ex with smtps (TLS1.x:ke-RSA-AES256-SHAnnn:xxx) - (Exim x.yz) - (envelope-from ) - id 10HmaX-0005vi-00 - for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 -TLS: cipher=TLS1.x:ke-RSA-AES256-SHAnnn:xxx peerdn= - -This is a test encrypted message. - diff --git a/test/mail/2004.userx b/test/mail/2004.userx deleted file mode 100644 index 232d7a7d6..000000000 --- a/test/mail/2004.userx +++ /dev/null @@ -1,10 +0,0 @@ -From userx@test.ex Tue Mar 02 09:44:33 1999 -Received: from [ip4.ip4.ip4.ip4] (helo=rhu.barb) - by myhost.test.ex with esmtp (Exim x.yz) - (envelope-from ) - id 10HmaX-0005vi-00 - for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 -TLS: cipher= peerdn= - -This is a test unencrypted message. - diff --git a/test/mail/2019.userx b/test/mail/2019.userx deleted file mode 100644 index 3b38f9a48..000000000 --- a/test/mail/2019.userx +++ /dev/null @@ -1,22 +0,0 @@ -From userx@test.ex Tue Mar 02 09:44:33 1999 -Received: from [127.0.0.1] (helo=rhu.barb) - by myhost.test.ex with esmtps (TLS1.x:ke-RSA-AES256-SHAnnn:xxx) - (Exim x.yz) - (envelope-from ) - id 10HmaX-0005vi-00 - for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 -TLS: cipher=TLS1.x:ke-RSA-AES256-SHAnnn:xxx peerdn= - -This is a test encrypted message. - -From userx@test.ex Tue Mar 02 09:44:33 1999 -Received: from [ip4.ip4.ip4.ip4] - by myhost.test.ex with smtp (TLS1.x:ke-RSA-AES256-SHAnnn:xxx) - (Exim x.yz) - (envelope-from ) - id 10HmaY-0005vi-00 - for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 -TLS: cipher=TLS1.x:ke-RSA-AES256-SHAnnn:xxx peerdn=C=UK,O=The Exim Maintainers,OU=Test Suite,CN=Phil Pennock - -This is a test encrypted message from a verified host. - diff --git a/test/mail/2103.userx b/test/mail/2103.userx deleted file mode 100644 index 66c128b68..000000000 --- a/test/mail/2103.userx +++ /dev/null @@ -1,11 +0,0 @@ -From userx@test.ex Tue Mar 02 09:44:33 1999 -Received: from [127.0.0.1] (helo=rhu.barb) - by myhost.test.ex with smtps (TLS1.x:ke-RSA-AES256-SHAnnn:xxx) - (Exim x.yz) - (envelope-from ) - id 10HmaX-0005vi-00 - for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 -TLS: cipher=TLS1.x:ke-RSA-AES256-SHAnnn:xxx peerdn= - -This is a test encrypted message. - diff --git a/test/mail/2104.userx b/test/mail/2104.userx deleted file mode 100644 index 232d7a7d6..000000000 --- a/test/mail/2104.userx +++ /dev/null @@ -1,10 +0,0 @@ -From userx@test.ex Tue Mar 02 09:44:33 1999 -Received: from [ip4.ip4.ip4.ip4] (helo=rhu.barb) - by myhost.test.ex with esmtp (Exim x.yz) - (envelope-from ) - id 10HmaX-0005vi-00 - for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 -TLS: cipher= peerdn= - -This is a test unencrypted message. - diff --git a/test/mail/2119.userx b/test/mail/2119.userx deleted file mode 100644 index e79ed70b4..000000000 --- a/test/mail/2119.userx +++ /dev/null @@ -1,22 +0,0 @@ -From userx@test.ex Tue Mar 02 09:44:33 1999 -Received: from [127.0.0.1] (helo=rhu.barb) - by myhost.test.ex with esmtps (TLS1.x:ke-RSA-AES256-SHAnnn:xxx) - (Exim x.yz) - (envelope-from ) - id 10HmaX-0005vi-00 - for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 -TLS: cipher=TLS1.x:ke-RSA-AES256-SHAnnn:xxx peerdn= - -This is a test encrypted message. - -From userx@test.ex Tue Mar 02 09:44:33 1999 -Received: from [ip4.ip4.ip4.ip4] - by myhost.test.ex with smtp (TLS1.x:ke-RSA-AES256-SHAnnn:xxx) - (Exim x.yz) - (envelope-from ) - id 10HmaY-0005vi-00 - for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 -TLS: cipher=TLS1.x:ke-RSA-AES256-SHAnnn:xxx peerdn=/C=UK/O=The Exim Maintainers/OU=Test Suite/CN=Phil Pennock - -This is a test encrypted message from a verified host. - diff --git a/test/rejectlog/1103 b/test/rejectlog/1103 new file mode 100644 index 000000000..da1a81fce --- /dev/null +++ b/test/rejectlog/1103 @@ -0,0 +1,3 @@ + +******** SERVER ******** +1999-03-02 09:44:33 H=[ip4.ip4.ip4.ip4] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no F= rejected RCPT : unacceptable cipher TLS1.x:ke-RSA-AES256-SHAnnn:xxx diff --git a/test/rejectlog/1104 b/test/rejectlog/1104 new file mode 100644 index 000000000..b5d5dd8f9 --- /dev/null +++ b/test/rejectlog/1104 @@ -0,0 +1,3 @@ + +******** SERVER ******** +1999-03-02 09:44:33 H=(rhu.barb) [127.0.0.1] F= rejected RCPT : encryption required diff --git a/test/rejectlog/1105 b/test/rejectlog/1105 new file mode 100644 index 000000000..f6ad104da --- /dev/null +++ b/test/rejectlog/1105 @@ -0,0 +1,3 @@ + +******** SERVER ******** +1999-03-02 09:44:33 H=[127.0.0.1] F= rejected RCPT : encryption required diff --git a/test/rejectlog/1108 b/test/rejectlog/1108 new file mode 100644 index 000000000..55415be9a --- /dev/null +++ b/test/rejectlog/1108 @@ -0,0 +1,3 @@ + +******** SERVER ******** +1999-03-02 09:44:33 H=(rhu.barb) [127.0.0.1] F= rejected RCPT : "You must encrypt" diff --git a/test/rejectlog/1109 b/test/rejectlog/1109 new file mode 100644 index 000000000..29f12c94a --- /dev/null +++ b/test/rejectlog/1109 @@ -0,0 +1 @@ +1999-03-02 09:44:33 H=(a.b.c) [10.9.8.10] U=CALLER rejected STARTTLS diff --git a/test/rejectlog/2003 b/test/rejectlog/2003 deleted file mode 100644 index da1a81fce..000000000 --- a/test/rejectlog/2003 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 H=[ip4.ip4.ip4.ip4] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no F= rejected RCPT : unacceptable cipher TLS1.x:ke-RSA-AES256-SHAnnn:xxx diff --git a/test/rejectlog/2004 b/test/rejectlog/2004 deleted file mode 100644 index b5d5dd8f9..000000000 --- a/test/rejectlog/2004 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 H=(rhu.barb) [127.0.0.1] F= rejected RCPT : encryption required diff --git a/test/rejectlog/2005 b/test/rejectlog/2005 deleted file mode 100644 index f6ad104da..000000000 --- a/test/rejectlog/2005 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 H=[127.0.0.1] F= rejected RCPT : encryption required diff --git a/test/rejectlog/2018 b/test/rejectlog/2018 deleted file mode 100644 index 55415be9a..000000000 --- a/test/rejectlog/2018 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 H=(rhu.barb) [127.0.0.1] F= rejected RCPT : "You must encrypt" diff --git a/test/rejectlog/2023 b/test/rejectlog/2023 deleted file mode 100644 index 29f12c94a..000000000 --- a/test/rejectlog/2023 +++ /dev/null @@ -1 +0,0 @@ -1999-03-02 09:44:33 H=(a.b.c) [10.9.8.10] U=CALLER rejected STARTTLS diff --git a/test/rejectlog/2103 b/test/rejectlog/2103 deleted file mode 100644 index da1a81fce..000000000 --- a/test/rejectlog/2103 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 H=[ip4.ip4.ip4.ip4] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no F= rejected RCPT : unacceptable cipher TLS1.x:ke-RSA-AES256-SHAnnn:xxx diff --git a/test/rejectlog/2104 b/test/rejectlog/2104 deleted file mode 100644 index b5d5dd8f9..000000000 --- a/test/rejectlog/2104 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 H=(rhu.barb) [127.0.0.1] F= rejected RCPT : encryption required diff --git a/test/rejectlog/2105 b/test/rejectlog/2105 deleted file mode 100644 index f6ad104da..000000000 --- a/test/rejectlog/2105 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 H=[127.0.0.1] F= rejected RCPT : encryption required diff --git a/test/rejectlog/2118 b/test/rejectlog/2118 deleted file mode 100644 index 55415be9a..000000000 --- a/test/rejectlog/2118 +++ /dev/null @@ -1,3 +0,0 @@ - -******** SERVER ******** -1999-03-02 09:44:33 H=(rhu.barb) [127.0.0.1] F= rejected RCPT : "You must encrypt" diff --git a/test/rejectlog/2123 b/test/rejectlog/2123 deleted file mode 100644 index 29f12c94a..000000000 --- a/test/rejectlog/2123 +++ /dev/null @@ -1 +0,0 @@ -1999-03-02 09:44:33 H=(a.b.c) [10.9.8.10] U=CALLER rejected STARTTLS diff --git a/test/runtest b/test/runtest index 323472634..ba2450c45 100755 --- a/test/runtest +++ b/test/runtest @@ -1490,7 +1490,10 @@ RESET_AFTER_EXTRA_LINE_READ: # Platform differences in errno strings s/Arg list too long/Argument list too long/; - s/session: \((SSL_connect|gnutls_handshake)\): timed out/session: (tls lib connect fn): timed out/; + # OpenSSL vs. GnuTLS + s/session: \K\((SSL_connect|gnutls_handshake)\): timed out/(tls lib connect fn): timed out/; + s/TLS error on connection from .*\K\((SSL_accept|gnutls_handshake)\): timed out/(tls lib accept fn): timed out/; + s/TLS error on connection from .*\K(SSL_accept: TCP connection closed by peer|\(gnutls_handshake\): The TLS connection was non-properly terminated.)/(tls lib accept fn): TCP connection closed by peer/; } # ======== mail ======== diff --git a/test/scripts/1100-Basic-TLS/1103 b/test/scripts/1100-Basic-TLS/1103 new file mode 100644 index 000000000..d8441dc40 --- /dev/null +++ b/test/scripts/1100-Basic-TLS/1103 @@ -0,0 +1,50 @@ +# TLS server: unavailable cipher +gnutls +exim -DSERVER=server -bd -oX PORT_D +**** +client-anytls HOSTIPV4 PORT_D +??? 220 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +starttls +??? 220 +mail from: +??? 250 +rcpt to: +??? 550 +quit +??? 221 +**** +client-anytls 127.0.0.1 PORT_D +??? 220 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +starttls +??? 220 +helo rhu.barb +??? 250 +mail from: +??? 250 +rcpt to: +??? 250 +DATA +??? 3 +This is a test encrypted message. +. +??? 250 +quit +??? 221 +**** +killdaemon +exim -qf +**** diff --git a/test/scripts/1100-Basic-TLS/1104 b/test/scripts/1100-Basic-TLS/1104 new file mode 100644 index 000000000..4a3af17ee --- /dev/null +++ b/test/scripts/1100-Basic-TLS/1104 @@ -0,0 +1,44 @@ +# TLS server: TLS required +gnutls +exim -DSERVER=server -bd -oX PORT_D +**** +client-anytls 127.0.0.1 PORT_D +??? 220 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +mail from: +??? 250 +rcpt to: +??? 550 +quit +??? 221 +**** +client-anytls HOSTIPV4 PORT_D +??? 220 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +mail from: +??? 250 +rcpt to: +??? 250 +DATA +??? 3 +This is a test unencrypted message. +. +??? 250 +quit +??? 221 +**** +killdaemon +exim -qf +**** diff --git a/test/scripts/1100-Basic-TLS/1105 b/test/scripts/1100-Basic-TLS/1105 new file mode 100644 index 000000000..fe06d2cab --- /dev/null +++ b/test/scripts/1100-Basic-TLS/1105 @@ -0,0 +1,29 @@ +# TLS server: accept for relay if encrypted +gnutls +exim -DSERVER=server -bd -oX PORT_D +**** +client-anytls 127.0.0.1 PORT_D +??? 220 +mail from: +??? 250 +rcpt to: +??? 550 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +starttls +??? 220 +mail from: +??? 250 +rcpt to: +??? 250 +quit +??? 221 +**** +killdaemon +exim -qf +**** diff --git a/test/scripts/1100-Basic-TLS/1106 b/test/scripts/1100-Basic-TLS/1106 new file mode 100644 index 000000000..1b8438f7e --- /dev/null +++ b/test/scripts/1100-Basic-TLS/1106 @@ -0,0 +1,18 @@ +# TLS server: timeout in TLS session +gnutls +exim -DSERVER=server -bd -oX PORT_D +**** +client-anytls 127.0.0.1 PORT_D +??? 220 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +starttls +??? 220 ++++ 3 +**** +killdaemon diff --git a/test/scripts/1100-Basic-TLS/1107 b/test/scripts/1100-Basic-TLS/1107 new file mode 100644 index 000000000..79d412d70 --- /dev/null +++ b/test/scripts/1100-Basic-TLS/1107 @@ -0,0 +1,32 @@ +# TLS server: timeout or close after accepting STARTTLS +gnutls +exim -DSERVER=server -bd -oX PORT_D +**** +client-anytls 127.0.0.1 PORT_D +??? 220 +ehlo timeout.rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +starttls_wait +??? 220 ++++ 2 +??? 421 +**** +client-anytls 127.0.0.1 PORT_D +??? 220 +ehlo close.rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +starttls_wait +??? 220 +**** +millisleep 500 +killdaemon diff --git a/test/scripts/1100-Basic-TLS/1108 b/test/scripts/1100-Basic-TLS/1108 new file mode 100644 index 000000000..7da4f444b --- /dev/null +++ b/test/scripts/1100-Basic-TLS/1108 @@ -0,0 +1,45 @@ +# TLS ACL encryption test +gnutls +exim -DSERVER=server -bd -oX PORT_D +**** +client-anytls 127.0.0.1 PORT_D +??? 220 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +starttls +??? 220 +mail from: +??? 250 +rcpt to: +??? 250 +DATA +??? 3 +This is a test encrypted message. +. +??? 250 +quit +??? 221 +**** +client-anytls 127.0.0.1 PORT_D +??? 220 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +mail from: +??? 250 +rcpt to: +??? 550 +quit +??? 221 +**** +killdaemon +no_msglog_check diff --git a/test/scripts/1100-Basic-TLS/1109 b/test/scripts/1100-Basic-TLS/1109 new file mode 100644 index 000000000..395fcdcde --- /dev/null +++ b/test/scripts/1100-Basic-TLS/1109 @@ -0,0 +1,7 @@ +# TLS: ACL for STARTTLS +gnutls +exim -bs -oMa 10.9.8.10 +ehlo a.b.c +starttls +quit +**** diff --git a/test/scripts/1100-Basic-TLS/1110 b/test/scripts/1100-Basic-TLS/1110 new file mode 100644 index 000000000..865b2202f --- /dev/null +++ b/test/scripts/1100-Basic-TLS/1110 @@ -0,0 +1,41 @@ +# TLS server: -tls-on-connect +gnutls +exim -DSERVER=server -tls-on-connect -bd -oX PORT_D +**** +client-anytls -tls-on-connect 127.0.0.1 PORT_D +??? 220 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +mail from: +??? 250 +rcpt to: +??? 250 +DATA +??? 3 +This is a test encrypted message. +. +??? 250 +quit +??? 221 +**** +client-anytls -tls-on-connect HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2 +??? 220 +mail from: +??? 250 +rcpt to: +??? 250 +DATA +??? 3 +This is a test encrypted message from a verified host. +. +??? 250 +quit +??? 221 +**** +killdaemon +exim -qf +**** diff --git a/test/scripts/1100-Basic-TLS/1111 b/test/scripts/1100-Basic-TLS/1111 new file mode 100644 index 000000000..f36360d8f --- /dev/null +++ b/test/scripts/1100-Basic-TLS/1111 @@ -0,0 +1,22 @@ +# TLS server: help command in encrypted session +gnutls +exim -DSERVER=server -bd -oX PORT_D +**** +client-anytls HOSTIPV4 PORT_D +??? 220 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +starttls +??? 220 +help +??? 214- +??? 214 +quit +??? 221 +**** +killdaemon diff --git a/test/scripts/1100-Basic-TLS/1112 b/test/scripts/1100-Basic-TLS/1112 new file mode 100644 index 000000000..396ee3fef --- /dev/null +++ b/test/scripts/1100-Basic-TLS/1112 @@ -0,0 +1,33 @@ +# tls_on_connect_ports +need_ipv4 +# +gnutls +exim -DSERVER=server -bd -oX PORT_D:PORT_D2:PORT_D3 +**** +client-anytls 127.0.0.1 PORT_D +??? 220 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +starttls +??? 220 +quit +??? 221 +**** +client-anytls -tls-on-connect 127.0.0.1 PORT_D2 +??? 220 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +quit +??? 221 +**** +killdaemon +no_msglog_check diff --git a/test/scripts/1100-Basic-TLS/1113 b/test/scripts/1100-Basic-TLS/1113 new file mode 100644 index 000000000..b009d476b --- /dev/null +++ b/test/scripts/1100-Basic-TLS/1113 @@ -0,0 +1,10 @@ +# TLS: SNI +gnutls +exim -DSERVER=server -bd -oX PORT_D +**** +# Basic: is SNI set on tpt seen by server +exim CALLER@test.ex +Test message. +**** +sleep 1 +killdaemon diff --git a/test/scripts/1100-Basic-TLS/1114 b/test/scripts/1100-Basic-TLS/1114 new file mode 100644 index 000000000..47badfe42 --- /dev/null +++ b/test/scripts/1100-Basic-TLS/1114 @@ -0,0 +1,72 @@ +# TLS server, CHUNKING reception +gnutls +exim -DSERVER=server -DSRV=tls -bd -oX PORT_D +**** +# +# non-piplined +client-anytls 127.0.0.1 PORT_D +??? 220 +EHLO rhu.barb +??? 250- +??? 250-SIZE +??? 250-8BITMIME +??? 250-PIPELINING +??? 250-CHUNKING +??? 250-STARTTLS +??? 250 HELP +STARTTLS +??? 220 +EHLO rhu.barb +??? 250- +??? 250-SIZE +??? 250-8BITMIME +??? 250-PIPELINING +??? 250-CHUNKING +??? 250 HELP +MAIL FROM: +??? 250 +RCPT TO: +??? 250 +BDAT 88 LAST +To: Susan@random.com +From: Sam@random.com +Subject: This is a bodyless test message + +??? 250- +??? 250 +QUIT +??? 221 +**** +# +# pipelined +client-anytls 127.0.0.1 PORT_D +??? 220 +EHLO rhu.barb +??? 250- +??? 250-SIZE +??? 250-8BITMIME +??? 250-PIPELINING +??? 250-CHUNKING +??? 250-STARTTLS +??? 250 HELP +STARTTLS +??? 220 +EHLO rhu.barb +??? 250- +??? 250-SIZE +??? 250-8BITMIME +??? 250-PIPELINING +??? 250-CHUNKING +??? 250 HELP +MAIL FROM:\r\nRCPT TO:\r\nBDAT 88 LAST\r\nTo: Susan@random.com\r\nFrom: Sam@random.com\r\nSubject: This is a bodyless test message\r\n +??? 250 +??? 250 +??? 250- +??? 250 +QUIT +??? 221 +**** +# +# +killdaemon +no_msglog_check diff --git a/test/scripts/1100-Basic-TLS/1149 b/test/scripts/1100-Basic-TLS/1149 new file mode 100644 index 000000000..501a9c9da --- /dev/null +++ b/test/scripts/1100-Basic-TLS/1149 @@ -0,0 +1,15 @@ +# ${readsocket (IPv4 TLS) +need_ipv4 +# +exim -DSERVER=server -tls-on-connect -bd -oX PORT_D +**** +# +# +millisleep 500 +exim -be +1 >>${readsocket{inet:thisloop:PORT_D}{QUIT\n}{2s:tls=yes}}<< +**** +millisleep 500 +# +killdaemon +no_stderr_check diff --git a/test/scripts/2000-GnuTLS/2003 b/test/scripts/2000-GnuTLS/2003 deleted file mode 100644 index d4bcedd67..000000000 --- a/test/scripts/2000-GnuTLS/2003 +++ /dev/null @@ -1,50 +0,0 @@ -# TLS server: unavailable cipher -gnutls -exim -DSERVER=server -bd -oX PORT_D -**** -client-gnutls HOSTIPV4 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -mail from: -??? 250 -rcpt to: -??? 550 -quit -??? 221 -**** -client-gnutls 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -helo rhu.barb -??? 250 -mail from: -??? 250 -rcpt to: -??? 250 -DATA -??? 3 -This is a test encrypted message. -. -??? 250 -quit -??? 221 -**** -killdaemon -exim -qf -**** diff --git a/test/scripts/2000-GnuTLS/2004 b/test/scripts/2000-GnuTLS/2004 deleted file mode 100644 index a310bb6ec..000000000 --- a/test/scripts/2000-GnuTLS/2004 +++ /dev/null @@ -1,44 +0,0 @@ -# TLS server: TLS required -gnutls -exim -DSERVER=server -bd -oX PORT_D -**** -client-gnutls 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -mail from: -??? 250 -rcpt to: -??? 550 -quit -??? 221 -**** -client-gnutls HOSTIPV4 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -mail from: -??? 250 -rcpt to: -??? 250 -DATA -??? 3 -This is a test unencrypted message. -. -??? 250 -quit -??? 221 -**** -killdaemon -exim -qf -**** diff --git a/test/scripts/2000-GnuTLS/2005 b/test/scripts/2000-GnuTLS/2005 deleted file mode 100644 index a2164b327..000000000 --- a/test/scripts/2000-GnuTLS/2005 +++ /dev/null @@ -1,29 +0,0 @@ -# TLS server: accept for relay if encrypted -gnutls -exim -DSERVER=server -bd -oX PORT_D -**** -client-gnutls 127.0.0.1 PORT_D -??? 220 -mail from: -??? 250 -rcpt to: -??? 550 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -mail from: -??? 250 -rcpt to: -??? 250 -quit -??? 221 -**** -killdaemon -exim -qf -**** diff --git a/test/scripts/2000-GnuTLS/2006 b/test/scripts/2000-GnuTLS/2006 deleted file mode 100644 index 1da0f7ddc..000000000 --- a/test/scripts/2000-GnuTLS/2006 +++ /dev/null @@ -1,18 +0,0 @@ -# TLS server: timeout in TLS session -gnutls -exim -DSERVER=server -bd -oX PORT_D -**** -client-gnutls 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -+++ 3 -**** -killdaemon diff --git a/test/scripts/2000-GnuTLS/2015 b/test/scripts/2000-GnuTLS/2015 deleted file mode 100644 index 07fda35b3..000000000 --- a/test/scripts/2000-GnuTLS/2015 +++ /dev/null @@ -1,32 +0,0 @@ -# TLS server: timeout or close after accepting STARTTLS -gnutls -exim -DSERVER=server -bd -oX PORT_D -**** -client-gnutls 127.0.0.1 PORT_D -??? 220 -ehlo timeout.rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls_wait -??? 220 -+++ 2 -??? 421 -**** -client-gnutls 127.0.0.1 PORT_D -??? 220 -ehlo close.rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls_wait -??? 220 -**** -millisleep 500 -killdaemon diff --git a/test/scripts/2000-GnuTLS/2018 b/test/scripts/2000-GnuTLS/2018 deleted file mode 100644 index 3f06e59e8..000000000 --- a/test/scripts/2000-GnuTLS/2018 +++ /dev/null @@ -1,45 +0,0 @@ -# TLS ACL encryption test -gnutls -exim -DSERVER=server -bd -oX PORT_D -**** -client-gnutls 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -mail from: -??? 250 -rcpt to: -??? 250 -DATA -??? 3 -This is a test encrypted message. -. -??? 250 -quit -??? 221 -**** -client-gnutls 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -mail from: -??? 250 -rcpt to: -??? 550 -quit -??? 221 -**** -killdaemon -no_msglog_check diff --git a/test/scripts/2000-GnuTLS/2019 b/test/scripts/2000-GnuTLS/2019 deleted file mode 100644 index d59f42ea2..000000000 --- a/test/scripts/2000-GnuTLS/2019 +++ /dev/null @@ -1,41 +0,0 @@ -# TLS server: -tls-on-connect -gnutls -exim -DSERVER=server -tls-on-connect -bd -oX PORT_D -**** -client-gnutls -tls-on-connect 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -mail from: -??? 250 -rcpt to: -??? 250 -DATA -??? 3 -This is a test encrypted message. -. -??? 250 -quit -??? 221 -**** -client-gnutls -tls-on-connect HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2 -??? 220 -mail from: -??? 250 -rcpt to: -??? 250 -DATA -??? 3 -This is a test encrypted message from a verified host. -. -??? 250 -quit -??? 221 -**** -killdaemon -exim -qf -**** diff --git a/test/scripts/2000-GnuTLS/2022 b/test/scripts/2000-GnuTLS/2022 deleted file mode 100644 index b90361982..000000000 --- a/test/scripts/2000-GnuTLS/2022 +++ /dev/null @@ -1,22 +0,0 @@ -# TLS server: help command in encrypted session -gnutls -exim -DSERVER=server -bd -oX PORT_D -**** -client-gnutls HOSTIPV4 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -help -??? 214- -??? 214 -quit -??? 221 -**** -killdaemon diff --git a/test/scripts/2000-GnuTLS/2023 b/test/scripts/2000-GnuTLS/2023 deleted file mode 100644 index 395fcdcde..000000000 --- a/test/scripts/2000-GnuTLS/2023 +++ /dev/null @@ -1,7 +0,0 @@ -# TLS: ACL for STARTTLS -gnutls -exim -bs -oMa 10.9.8.10 -ehlo a.b.c -starttls -quit -**** diff --git a/test/scripts/2000-GnuTLS/2028 b/test/scripts/2000-GnuTLS/2028 deleted file mode 100644 index e5bb97b72..000000000 --- a/test/scripts/2000-GnuTLS/2028 +++ /dev/null @@ -1,33 +0,0 @@ -# tls_on_connect_ports -need_ipv4 -# -gnutls -exim -DSERVER=server -bd -oX PORT_D:PORT_D2:PORT_D3 -**** -client-gnutls 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -quit -??? 221 -**** -client-gnutls -tls-on-connect 127.0.0.1 PORT_D2 -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -quit -??? 221 -**** -killdaemon -no_msglog_check diff --git a/test/scripts/2000-GnuTLS/2030 b/test/scripts/2000-GnuTLS/2030 deleted file mode 100644 index b009d476b..000000000 --- a/test/scripts/2000-GnuTLS/2030 +++ /dev/null @@ -1,10 +0,0 @@ -# TLS: SNI -gnutls -exim -DSERVER=server -bd -oX PORT_D -**** -# Basic: is SNI set on tpt seen by server -exim CALLER@test.ex -Test message. -**** -sleep 1 -killdaemon diff --git a/test/scripts/2000-GnuTLS/2090 b/test/scripts/2000-GnuTLS/2090 deleted file mode 100644 index 91227e8ca..000000000 --- a/test/scripts/2000-GnuTLS/2090 +++ /dev/null @@ -1,72 +0,0 @@ -# TLS server, CHUNKING reception -gnutls -exim -DSERVER=server -DSRV=tls -bd -oX PORT_D -**** -# -# non-piplined -client-gnutls 127.0.0.1 PORT_D -??? 220 -EHLO rhu.barb -??? 250- -??? 250-SIZE -??? 250-8BITMIME -??? 250-PIPELINING -??? 250-CHUNKING -??? 250-STARTTLS -??? 250 HELP -STARTTLS -??? 220 -EHLO rhu.barb -??? 250- -??? 250-SIZE -??? 250-8BITMIME -??? 250-PIPELINING -??? 250-CHUNKING -??? 250 HELP -MAIL FROM: -??? 250 -RCPT TO: -??? 250 -BDAT 88 LAST -To: Susan@random.com -From: Sam@random.com -Subject: This is a bodyless test message - -??? 250- -??? 250 -QUIT -??? 221 -**** -# -# pipelined -client-gnutls 127.0.0.1 PORT_D -??? 220 -EHLO rhu.barb -??? 250- -??? 250-SIZE -??? 250-8BITMIME -??? 250-PIPELINING -??? 250-CHUNKING -??? 250-STARTTLS -??? 250 HELP -STARTTLS -??? 220 -EHLO rhu.barb -??? 250- -??? 250-SIZE -??? 250-8BITMIME -??? 250-PIPELINING -??? 250-CHUNKING -??? 250 HELP -MAIL FROM:\r\nRCPT TO:\r\nBDAT 88 LAST\r\nTo: Susan@random.com\r\nFrom: Sam@random.com\r\nSubject: This is a bodyless test message\r\n -??? 250 -??? 250 -??? 250- -??? 250 -QUIT -??? 221 -**** -# -# -killdaemon -no_msglog_check diff --git a/test/scripts/2000-GnuTLS/2099 b/test/scripts/2000-GnuTLS/2099 deleted file mode 100644 index 632dc094b..000000000 --- a/test/scripts/2000-GnuTLS/2099 +++ /dev/null @@ -1,14 +0,0 @@ -# ${readsocket (IPv4 TLS) -need_ipv4 -# -exim -DSERVER=server -tls-on-connect -bd -oX PORT_D -**** -# -# -millisleep 500 -exim -be -1 >>${readsocket{inet:thisloop:PORT_D}{QUIT\n}{2s:tls=yes}}<< -**** -millisleep 500 -# -killdaemon diff --git a/test/scripts/2100-OpenSSL/2103 b/test/scripts/2100-OpenSSL/2103 deleted file mode 100644 index 1018c4eb4..000000000 --- a/test/scripts/2100-OpenSSL/2103 +++ /dev/null @@ -1,49 +0,0 @@ -# TLS server: unavailable cipher -exim -DSERVER=server -bd -oX PORT_D -**** -client-ssl HOSTIPV4 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -mail from: -??? 250 -rcpt to: -??? 550 -quit -??? 221 -**** -client-ssl 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -helo rhu.barb -??? 250 -mail from: -??? 250 -rcpt to: -??? 250 -DATA -??? 3 -This is a test encrypted message. -. -??? 250 -quit -??? 221 -**** -killdaemon -exim -qf -**** diff --git a/test/scripts/2100-OpenSSL/2104 b/test/scripts/2100-OpenSSL/2104 deleted file mode 100644 index 55e54ddeb..000000000 --- a/test/scripts/2100-OpenSSL/2104 +++ /dev/null @@ -1,43 +0,0 @@ -# TLS server: TLS required -exim -DSERVER=server -bd -oX PORT_D -**** -client-ssl 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -mail from: -??? 250 -rcpt to: -??? 550 -quit -??? 221 -**** -client-ssl HOSTIPV4 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -mail from: -??? 250 -rcpt to: -??? 250 -DATA -??? 3 -This is a test unencrypted message. -. -??? 250 -quit -??? 221 -**** -killdaemon -exim -qf -**** diff --git a/test/scripts/2100-OpenSSL/2105 b/test/scripts/2100-OpenSSL/2105 deleted file mode 100644 index 130fa48d9..000000000 --- a/test/scripts/2100-OpenSSL/2105 +++ /dev/null @@ -1,28 +0,0 @@ -# TLS server: accept for relay if encrypted -exim -DSERVER=server -bd -oX PORT_D -**** -client-ssl 127.0.0.1 PORT_D -??? 220 -mail from: -??? 250 -rcpt to: -??? 550 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -mail from: -??? 250 -rcpt to: -??? 250 -quit -??? 221 -**** -killdaemon -exim -qf -**** diff --git a/test/scripts/2100-OpenSSL/2106 b/test/scripts/2100-OpenSSL/2106 deleted file mode 100644 index 3e36603a9..000000000 --- a/test/scripts/2100-OpenSSL/2106 +++ /dev/null @@ -1,17 +0,0 @@ -# TLS server: timeout in TLS session -exim -DSERVER=server -bd -oX PORT_D -**** -client-ssl 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -+++ 3 -**** -killdaemon diff --git a/test/scripts/2100-OpenSSL/2115 b/test/scripts/2100-OpenSSL/2115 deleted file mode 100644 index 9ecefdbac..000000000 --- a/test/scripts/2100-OpenSSL/2115 +++ /dev/null @@ -1,18 +0,0 @@ -# TLS server: timeout after accepting STARTTLS -exim -DSERVER=server -bd -oX PORT_D -**** -client-ssl 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls_wait -??? 220 -+++ 2 -??? 421 -**** -killdaemon diff --git a/test/scripts/2100-OpenSSL/2118 b/test/scripts/2100-OpenSSL/2118 deleted file mode 100644 index 281060ca8..000000000 --- a/test/scripts/2100-OpenSSL/2118 +++ /dev/null @@ -1,44 +0,0 @@ -# TLS: ACL encryption test -exim -DSERVER=server -bd -oX PORT_D -**** -client-ssl 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -mail from: -??? 250 -rcpt to: -??? 250 -DATA -??? 3 -This is a test encrypted message. -. -??? 250 -quit -??? 221 -**** -client-ssl 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -mail from: -??? 250 -rcpt to: -??? 550 -quit -??? 221 -**** -killdaemon -no_msglog_check diff --git a/test/scripts/2100-OpenSSL/2119 b/test/scripts/2100-OpenSSL/2119 deleted file mode 100644 index 1ad9befd7..000000000 --- a/test/scripts/2100-OpenSSL/2119 +++ /dev/null @@ -1,40 +0,0 @@ -# TLS server: -tls-on-connect -exim -DSERVER=server -tls-on-connect -bd -oX PORT_D -**** -client-ssl -tls-on-connect 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -mail from: -??? 250 -rcpt to: -??? 250 -DATA -??? 3 -This is a test encrypted message. -. -??? 250 -quit -??? 221 -**** -client-ssl -tls-on-connect HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2 -??? 220 -mail from: -??? 250 -rcpt to: -??? 250 -DATA -??? 3 -This is a test encrypted message from a verified host. -. -??? 250 -quit -??? 221 -**** -killdaemon -exim -qf -**** diff --git a/test/scripts/2100-OpenSSL/2122 b/test/scripts/2100-OpenSSL/2122 deleted file mode 100644 index b93013962..000000000 --- a/test/scripts/2100-OpenSSL/2122 +++ /dev/null @@ -1,21 +0,0 @@ -# TLS server: help command in encrypted session -exim -DSERVER=server -bd -oX PORT_D -**** -client-ssl HOSTIPV4 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -help -??? 214- -??? 214 -quit -??? 221 -**** -killdaemon diff --git a/test/scripts/2100-OpenSSL/2123 b/test/scripts/2100-OpenSSL/2123 deleted file mode 100644 index 927c266c6..000000000 --- a/test/scripts/2100-OpenSSL/2123 +++ /dev/null @@ -1,6 +0,0 @@ -# TLS: ACL for STARTTLS -exim -bs -oMa 10.9.8.10 -ehlo a.b.c -starttls -quit -**** diff --git a/test/scripts/2100-OpenSSL/2128 b/test/scripts/2100-OpenSSL/2128 deleted file mode 100644 index b9d781a28..000000000 --- a/test/scripts/2100-OpenSSL/2128 +++ /dev/null @@ -1,32 +0,0 @@ -# tls_on_connect_ports -need_ipv4 -# -exim -DSERVER=server -bd -oX PORT_D:PORT_D2:PORT_D3 -**** -client-ssl 127.0.0.1 PORT_D -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -starttls -??? 220 -quit -??? 221 -**** -client-ssl -tls-on-connect 127.0.0.1 PORT_D2 -??? 220 -ehlo rhu.barb -??? 250- -??? 250- -??? 250- -??? 250- -??? 250 -quit -??? 221 -**** -killdaemon -no_msglog_check diff --git a/test/scripts/2100-OpenSSL/2130 b/test/scripts/2100-OpenSSL/2130 deleted file mode 100644 index afaa949e0..000000000 --- a/test/scripts/2100-OpenSSL/2130 +++ /dev/null @@ -1,11 +0,0 @@ -# TLS: client SNI -# -exim -DSERVER=server -bd -oX PORT_D -**** -# Basic: is SNI set on tpt seen by server -exim CALLER@test.ex -Test message. -**** -millisleep 500 -killdaemon -sleep 2 diff --git a/test/scripts/2100-OpenSSL/2190 b/test/scripts/2100-OpenSSL/2190 deleted file mode 100644 index e004e5e02..000000000 --- a/test/scripts/2100-OpenSSL/2190 +++ /dev/null @@ -1,71 +0,0 @@ -# TLS server, CHUNKING reception -exim -DSERVER=server -DSRV=tls -bd -oX PORT_D -**** -# -# non-piplined -client-ssl 127.0.0.1 PORT_D -??? 220 -EHLO rhu.barb -??? 250- -??? 250-SIZE -??? 250-8BITMIME -??? 250-PIPELINING -??? 250-CHUNKING -??? 250-STARTTLS -??? 250 HELP -STARTTLS -??? 220 -EHLO rhu.barb -??? 250- -??? 250-SIZE -??? 250-8BITMIME -??? 250-PIPELINING -??? 250-CHUNKING -??? 250 HELP -MAIL FROM: -??? 250 -RCPT TO: -??? 250 -BDAT 88 LAST -To: Susan@random.com -From: Sam@random.com -Subject: This is a bodyless test message - -??? 250- -??? 250 -QUIT -??? 221 -**** -# -# pipelined -client-ssl 127.0.0.1 PORT_D -??? 220 -EHLO rhu.barb -??? 250- -??? 250-SIZE -??? 250-8BITMIME -??? 250-PIPELINING -??? 250-CHUNKING -??? 250-STARTTLS -??? 250 HELP -STARTTLS -??? 220 -EHLO rhu.barb -??? 250- -??? 250-SIZE -??? 250-8BITMIME -??? 250-PIPELINING -??? 250-CHUNKING -??? 250 HELP -MAIL FROM:\r\nRCPT TO:\r\nBDAT 88 LAST\r\nTo: Susan@random.com\r\nFrom: Sam@random.com\r\nSubject: This is a bodyless test message\r\n -??? 250 -??? 250 -??? 250- -??? 250 -QUIT -??? 221 -**** -# -# -killdaemon -no_msglog_check diff --git a/test/scripts/2100-OpenSSL/2199 b/test/scripts/2100-OpenSSL/2199 deleted file mode 100644 index 632dc094b..000000000 --- a/test/scripts/2100-OpenSSL/2199 +++ /dev/null @@ -1,14 +0,0 @@ -# ${readsocket (IPv4 TLS) -need_ipv4 -# -exim -DSERVER=server -tls-on-connect -bd -oX PORT_D -**** -# -# -millisleep 500 -exim -be -1 >>${readsocket{inet:thisloop:PORT_D}{QUIT\n}{2s:tls=yes}}<< -**** -millisleep 500 -# -killdaemon diff --git a/test/stderr/2199 b/test/stderr/2199 deleted file mode 100644 index 0423be152..000000000 --- a/test/stderr/2199 +++ /dev/null @@ -1,4 +0,0 @@ -1999-03-02 09:44:33 [NULL] SSL verify error: depth=0 error=self signed certificate cert=/C=UK/O=The Exim Maintainers/OU=Test Suite/CN=Phil Pennock -1999-03-02 09:44:33 [NULL] SSL verify error: certificate name mismatch: DN="/C=UK/O=The Exim Maintainers/OU=Test Suite/CN=Phil Pennock" H="thisloop" - -******** SERVER ******** diff --git a/test/stdout/1103 b/test/stdout/1103 new file mode 100644 index 000000000..df5777d75 --- /dev/null +++ b/test/stdout/1103 @@ -0,0 +1,72 @@ +Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250- +<<< 250-STARTTLS +??? 250 +<<< 250 HELP +>>> starttls +??? 220 +<<< 220 TLS go ahead +Attempting to start TLS +Succeeded in starting TLS +>>> mail from: +??? 250 +<<< 250 OK +>>> rcpt to: +??? 550 +<<< 550 unacceptable cipher TLS1.x:ke-RSA-AES256-SHAnnn:xxx +>>> quit +??? 221 +<<< 221 myhost.test.ex closing connection +End of script +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250- +<<< 250-STARTTLS +??? 250 +<<< 250 HELP +>>> starttls +??? 220 +<<< 220 TLS go ahead +Attempting to start TLS +Succeeded in starting TLS +>>> helo rhu.barb +??? 250 +<<< 250 myhost.test.ex Hello rhu.barb [127.0.0.1] +>>> mail from: +??? 250 +<<< 250 OK +>>> rcpt to: +??? 250 +<<< 250 Accepted +>>> DATA +??? 3 +<<< 354 Enter message, ending with "." on a line by itself +>>> This is a test encrypted message. +>>> . +??? 250 +<<< 250 OK id=10HmaX-0005vi-00 +>>> quit +??? 221 +<<< 221 myhost.test.ex closing connection +End of script diff --git a/test/stdout/1104 b/test/stdout/1104 new file mode 100644 index 000000000..ac5245cba --- /dev/null +++ b/test/stdout/1104 @@ -0,0 +1,59 @@ +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250- +<<< 250-STARTTLS +??? 250 +<<< 250 HELP +>>> mail from: +??? 250 +<<< 250 OK +>>> rcpt to: +??? 550 +<<< 550 encryption required +>>> quit +??? 221 +<<< 221 myhost.test.ex closing connection +End of script +Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250- +<<< 250-STARTTLS +??? 250 +<<< 250 HELP +>>> mail from: +??? 250 +<<< 250 OK +>>> rcpt to: +??? 250 +<<< 250 Accepted +>>> DATA +??? 3 +<<< 354 Enter message, ending with "." on a line by itself +>>> This is a test unencrypted message. +>>> . +??? 250 +<<< 250 OK id=10HmaX-0005vi-00 +>>> quit +??? 221 +<<< 221 myhost.test.ex closing connection +End of script diff --git a/test/stdout/1105 b/test/stdout/1105 new file mode 100644 index 000000000..7a0430c10 --- /dev/null +++ b/test/stdout/1105 @@ -0,0 +1,37 @@ +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> mail from: +??? 250 +<<< 250 OK +>>> rcpt to: +??? 550 +<<< 550 encryption required +>>> ehlo rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250- +<<< 250-STARTTLS +??? 250 +<<< 250 HELP +>>> starttls +??? 220 +<<< 220 TLS go ahead +Attempting to start TLS +Succeeded in starting TLS +>>> mail from: +??? 250 +<<< 250 OK +>>> rcpt to: +??? 250 +<<< 250 Accepted +>>> quit +??? 221 +<<< 221 myhost.test.ex closing connection +End of script diff --git a/test/stdout/1106 b/test/stdout/1106 new file mode 100644 index 000000000..ba53967e0 --- /dev/null +++ b/test/stdout/1106 @@ -0,0 +1,23 @@ +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250- +<<< 250-STARTTLS +??? 250 +<<< 250 HELP +>>> starttls +??? 220 +<<< 220 TLS go ahead +Attempting to start TLS +Succeeded in starting TLS ++++ 3 +End of script diff --git a/test/stdout/1107 b/test/stdout/1107 new file mode 100644 index 000000000..bfef01151 --- /dev/null +++ b/test/stdout/1107 @@ -0,0 +1,43 @@ +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo timeout.rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello timeout.rhu.barb [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250- +<<< 250-STARTTLS +??? 250 +<<< 250 HELP +>>> starttls +??? 220 +<<< 220 TLS go ahead ++++ 2 +??? 421 +<<< 421 myhost.test.ex: SMTP command timeout - closing connection +End of script +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo close.rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello close.rhu.barb [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250- +<<< 250-STARTTLS +??? 250 +<<< 250 HELP +>>> starttls +??? 220 +<<< 220 TLS go ahead +End of script diff --git a/test/stdout/1108 b/test/stdout/1108 new file mode 100644 index 000000000..c7a0df4c4 --- /dev/null +++ b/test/stdout/1108 @@ -0,0 +1,64 @@ +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250- +<<< 250-STARTTLS +??? 250 +<<< 250 HELP +>>> starttls +??? 220 +<<< 220 TLS go ahead +Attempting to start TLS +Succeeded in starting TLS +>>> mail from: +??? 250 +<<< 250 OK +>>> rcpt to: +??? 250 +<<< 250 Accepted +>>> DATA +??? 3 +<<< 354 Enter message, ending with "." on a line by itself +>>> This is a test encrypted message. +>>> . +??? 250 +<<< 250 OK id=10HmaX-0005vi-00 +>>> quit +??? 221 +<<< 221 myhost.test.ex closing connection +End of script +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250- +<<< 250-STARTTLS +??? 250 +<<< 250 HELP +>>> mail from: +??? 250 +<<< 250 OK +>>> rcpt to: +??? 550 +<<< 550 "You must encrypt" +>>> quit +??? 221 +<<< 221 myhost.test.ex closing connection +End of script diff --git a/test/stdout/1109 b/test/stdout/1109 new file mode 100644 index 000000000..5022d27b3 --- /dev/null +++ b/test/stdout/1109 @@ -0,0 +1,9 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at a.b.c [10.9.8.10] +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250-STARTTLS +250 HELP +550 Administrative prohibition +221 myhost.test.ex closing connection diff --git a/test/stdout/1110 b/test/stdout/1110 new file mode 100644 index 000000000..b885461ed --- /dev/null +++ b/test/stdout/1110 @@ -0,0 +1,57 @@ +Connecting to 127.0.0.1 port 1225 ... connected +Attempting to start TLS +Succeeded in starting TLS +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250 +<<< 250 HELP +>>> mail from: +??? 250 +<<< 250 OK +>>> rcpt to: +??? 250 +<<< 250 Accepted +>>> DATA +??? 3 +<<< 354 Enter message, ending with "." on a line by itself +>>> This is a test encrypted message. +>>> . +??? 250 +<<< 250 OK id=10HmaX-0005vi-00 +>>> quit +??? 221 +<<< 221 myhost.test.ex closing connection +End of script +Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected +Certificate file = aux-fixed/cert2 +Key file = aux-fixed/cert2 +Attempting to start TLS +Succeeded in starting TLS +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> mail from: +??? 250 +<<< 250 OK +>>> rcpt to: +??? 250 +<<< 250 Accepted +>>> DATA +??? 3 +<<< 354 Enter message, ending with "." on a line by itself +>>> This is a test encrypted message from a verified host. +>>> . +??? 250 +<<< 250 OK id=10HmaY-0005vi-00 +>>> quit +??? 221 +<<< 221 myhost.test.ex closing connection +End of script diff --git a/test/stdout/1111 b/test/stdout/1111 new file mode 100644 index 000000000..3f280e0d5 --- /dev/null +++ b/test/stdout/1111 @@ -0,0 +1,30 @@ +Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250- +<<< 250-STARTTLS +??? 250 +<<< 250 HELP +>>> starttls +??? 220 +<<< 220 TLS go ahead +Attempting to start TLS +Succeeded in starting TLS +>>> help +??? 214- +<<< 214-Commands supported: +??? 214 +<<< 214 AUTH HELO EHLO MAIL RCPT DATA BDAT NOOP QUIT RSET HELP +>>> quit +??? 221 +<<< 221 myhost.test.ex closing connection +End of script diff --git a/test/stdout/1112 b/test/stdout/1112 new file mode 100644 index 000000000..1ccd96b88 --- /dev/null +++ b/test/stdout/1112 @@ -0,0 +1,45 @@ +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250- +<<< 250-STARTTLS +??? 250 +<<< 250 HELP +>>> starttls +??? 220 +<<< 220 TLS go ahead +Attempting to start TLS +Succeeded in starting TLS +>>> quit +??? 221 +<<< 221 myhost.test.ex closing connection +End of script +Connecting to 127.0.0.1 port 1226 ... connected +Attempting to start TLS +Succeeded in starting TLS +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo rhu.barb +??? 250- +<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-PIPELINING +??? 250 +<<< 250 HELP +>>> quit +??? 221 +<<< 221 myhost.test.ex closing connection +End of script diff --git a/test/stdout/1114 b/test/stdout/1114 new file mode 100644 index 000000000..f08abd10b --- /dev/null +++ b/test/stdout/1114 @@ -0,0 +1,104 @@ +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> EHLO rhu.barb +??? 250- +<<< 250-testhost.test.ex Hello rhu.barb [127.0.0.1] +??? 250-SIZE +<<< 250-SIZE 52428800 +??? 250-8BITMIME +<<< 250-8BITMIME +??? 250-PIPELINING +<<< 250-PIPELINING +??? 250-CHUNKING +<<< 250-CHUNKING +??? 250-STARTTLS +<<< 250-STARTTLS +??? 250 HELP +<<< 250 HELP +>>> STARTTLS +??? 220 +<<< 220 TLS go ahead +Attempting to start TLS +Succeeded in starting TLS +>>> EHLO rhu.barb +??? 250- +<<< 250-testhost.test.ex Hello rhu.barb [127.0.0.1] +??? 250-SIZE +<<< 250-SIZE 52428800 +??? 250-8BITMIME +<<< 250-8BITMIME +??? 250-PIPELINING +<<< 250-PIPELINING +??? 250-CHUNKING +<<< 250-CHUNKING +??? 250 HELP +<<< 250 HELP +>>> MAIL FROM: +??? 250 +<<< 250 OK +>>> RCPT TO: +??? 250 +<<< 250 Accepted +>>> BDAT 88 LAST +>>> To: Susan@random.com +>>> From: Sam@random.com +>>> Subject: This is a bodyless test message +>>> +??? 250- +<<< 250- 88 byte chunk, total 88 +??? 250 +<<< 250 OK id=10HmaX-0005vi-00 +>>> QUIT +??? 221 +<<< 221 testhost.test.ex closing connection +End of script +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> EHLO rhu.barb +??? 250- +<<< 250-testhost.test.ex Hello rhu.barb [127.0.0.1] +??? 250-SIZE +<<< 250-SIZE 52428800 +??? 250-8BITMIME +<<< 250-8BITMIME +??? 250-PIPELINING +<<< 250-PIPELINING +??? 250-CHUNKING +<<< 250-CHUNKING +??? 250-STARTTLS +<<< 250-STARTTLS +??? 250 HELP +<<< 250 HELP +>>> STARTTLS +??? 220 +<<< 220 TLS go ahead +Attempting to start TLS +Succeeded in starting TLS +>>> EHLO rhu.barb +??? 250- +<<< 250-testhost.test.ex Hello rhu.barb [127.0.0.1] +??? 250-SIZE +<<< 250-SIZE 52428800 +??? 250-8BITMIME +<<< 250-8BITMIME +??? 250-PIPELINING +<<< 250-PIPELINING +??? 250-CHUNKING +<<< 250-CHUNKING +??? 250 HELP +<<< 250 HELP +>>> MAIL FROM:\r\nRCPT TO:\r\nBDAT 88 LAST\r\nTo: Susan@random.com\r\nFrom: Sam@random.com\r\nSubject: This is a bodyless test message\r\n +??? 250 +<<< 250 OK +??? 250 +<<< 250 Accepted +??? 250- +<<< 250- 88 byte chunk, total 88 +??? 250 +<<< 250 OK id=10HmaY-0005vi-00 +>>> QUIT +??? 221 +<<< 221 testhost.test.ex closing connection +End of script diff --git a/test/stdout/1149 b/test/stdout/1149 new file mode 100644 index 000000000..a3eab5117 --- /dev/null +++ b/test/stdout/1149 @@ -0,0 +1,4 @@ +> 1 >>220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +221 myhost.test.ex closing connection +<< +> diff --git a/test/stdout/2003 b/test/stdout/2003 deleted file mode 100644 index df5777d75..000000000 --- a/test/stdout/2003 +++ /dev/null @@ -1,72 +0,0 @@ -Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 550 -<<< 550 unacceptable cipher TLS1.x:ke-RSA-AES256-SHAnnn:xxx ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> helo rhu.barb -??? 250 -<<< 250 myhost.test.ex Hello rhu.barb [127.0.0.1] ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 250 -<<< 250 Accepted ->>> DATA -??? 3 -<<< 354 Enter message, ending with "." on a line by itself ->>> This is a test encrypted message. ->>> . -??? 250 -<<< 250 OK id=10HmaX-0005vi-00 ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2004 b/test/stdout/2004 deleted file mode 100644 index ac5245cba..000000000 --- a/test/stdout/2004 +++ /dev/null @@ -1,59 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 550 -<<< 550 encryption required ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script -Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 250 -<<< 250 Accepted ->>> DATA -??? 3 -<<< 354 Enter message, ending with "." on a line by itself ->>> This is a test unencrypted message. ->>> . -??? 250 -<<< 250 OK id=10HmaX-0005vi-00 ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2005 b/test/stdout/2005 deleted file mode 100644 index 7a0430c10..000000000 --- a/test/stdout/2005 +++ /dev/null @@ -1,37 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 550 -<<< 550 encryption required ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 250 -<<< 250 Accepted ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2006 b/test/stdout/2006 deleted file mode 100644 index ba53967e0..000000000 --- a/test/stdout/2006 +++ /dev/null @@ -1,23 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS -+++ 3 -End of script diff --git a/test/stdout/2015 b/test/stdout/2015 deleted file mode 100644 index bfef01151..000000000 --- a/test/stdout/2015 +++ /dev/null @@ -1,43 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo timeout.rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello timeout.rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -+++ 2 -??? 421 -<<< 421 myhost.test.ex: SMTP command timeout - closing connection -End of script -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo close.rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello close.rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -End of script diff --git a/test/stdout/2018 b/test/stdout/2018 deleted file mode 100644 index c7a0df4c4..000000000 --- a/test/stdout/2018 +++ /dev/null @@ -1,64 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 250 -<<< 250 Accepted ->>> DATA -??? 3 -<<< 354 Enter message, ending with "." on a line by itself ->>> This is a test encrypted message. ->>> . -??? 250 -<<< 250 OK id=10HmaX-0005vi-00 ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 550 -<<< 550 "You must encrypt" ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2019 b/test/stdout/2019 deleted file mode 100644 index b885461ed..000000000 --- a/test/stdout/2019 +++ /dev/null @@ -1,57 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -Attempting to start TLS -Succeeded in starting TLS -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250 -<<< 250 HELP ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 250 -<<< 250 Accepted ->>> DATA -??? 3 -<<< 354 Enter message, ending with "." on a line by itself ->>> This is a test encrypted message. ->>> . -??? 250 -<<< 250 OK id=10HmaX-0005vi-00 ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script -Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected -Certificate file = aux-fixed/cert2 -Key file = aux-fixed/cert2 -Attempting to start TLS -Succeeded in starting TLS -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 250 -<<< 250 Accepted ->>> DATA -??? 3 -<<< 354 Enter message, ending with "." on a line by itself ->>> This is a test encrypted message from a verified host. ->>> . -??? 250 -<<< 250 OK id=10HmaY-0005vi-00 ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2022 b/test/stdout/2022 deleted file mode 100644 index 3f280e0d5..000000000 --- a/test/stdout/2022 +++ /dev/null @@ -1,30 +0,0 @@ -Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> help -??? 214- -<<< 214-Commands supported: -??? 214 -<<< 214 AUTH HELO EHLO MAIL RCPT DATA BDAT NOOP QUIT RSET HELP ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2023 b/test/stdout/2023 deleted file mode 100644 index 5022d27b3..000000000 --- a/test/stdout/2023 +++ /dev/null @@ -1,9 +0,0 @@ -220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 -250-myhost.test.ex Hello CALLER at a.b.c [10.9.8.10] -250-SIZE 52428800 -250-8BITMIME -250-PIPELINING -250-STARTTLS -250 HELP -550 Administrative prohibition -221 myhost.test.ex closing connection diff --git a/test/stdout/2028 b/test/stdout/2028 deleted file mode 100644 index 1ccd96b88..000000000 --- a/test/stdout/2028 +++ /dev/null @@ -1,45 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script -Connecting to 127.0.0.1 port 1226 ... connected -Attempting to start TLS -Succeeded in starting TLS -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250 -<<< 250 HELP ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2090 b/test/stdout/2090 deleted file mode 100644 index f08abd10b..000000000 --- a/test/stdout/2090 +++ /dev/null @@ -1,104 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> EHLO rhu.barb -??? 250- -<<< 250-testhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250-SIZE -<<< 250-SIZE 52428800 -??? 250-8BITMIME -<<< 250-8BITMIME -??? 250-PIPELINING -<<< 250-PIPELINING -??? 250-CHUNKING -<<< 250-CHUNKING -??? 250-STARTTLS -<<< 250-STARTTLS -??? 250 HELP -<<< 250 HELP ->>> STARTTLS -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> EHLO rhu.barb -??? 250- -<<< 250-testhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250-SIZE -<<< 250-SIZE 52428800 -??? 250-8BITMIME -<<< 250-8BITMIME -??? 250-PIPELINING -<<< 250-PIPELINING -??? 250-CHUNKING -<<< 250-CHUNKING -??? 250 HELP -<<< 250 HELP ->>> MAIL FROM: -??? 250 -<<< 250 OK ->>> RCPT TO: -??? 250 -<<< 250 Accepted ->>> BDAT 88 LAST ->>> To: Susan@random.com ->>> From: Sam@random.com ->>> Subject: This is a bodyless test message ->>> -??? 250- -<<< 250- 88 byte chunk, total 88 -??? 250 -<<< 250 OK id=10HmaX-0005vi-00 ->>> QUIT -??? 221 -<<< 221 testhost.test.ex closing connection -End of script -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> EHLO rhu.barb -??? 250- -<<< 250-testhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250-SIZE -<<< 250-SIZE 52428800 -??? 250-8BITMIME -<<< 250-8BITMIME -??? 250-PIPELINING -<<< 250-PIPELINING -??? 250-CHUNKING -<<< 250-CHUNKING -??? 250-STARTTLS -<<< 250-STARTTLS -??? 250 HELP -<<< 250 HELP ->>> STARTTLS -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> EHLO rhu.barb -??? 250- -<<< 250-testhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250-SIZE -<<< 250-SIZE 52428800 -??? 250-8BITMIME -<<< 250-8BITMIME -??? 250-PIPELINING -<<< 250-PIPELINING -??? 250-CHUNKING -<<< 250-CHUNKING -??? 250 HELP -<<< 250 HELP ->>> MAIL FROM:\r\nRCPT TO:\r\nBDAT 88 LAST\r\nTo: Susan@random.com\r\nFrom: Sam@random.com\r\nSubject: This is a bodyless test message\r\n -??? 250 -<<< 250 OK -??? 250 -<<< 250 Accepted -??? 250- -<<< 250- 88 byte chunk, total 88 -??? 250 -<<< 250 OK id=10HmaY-0005vi-00 ->>> QUIT -??? 221 -<<< 221 testhost.test.ex closing connection -End of script diff --git a/test/stdout/2099 b/test/stdout/2099 deleted file mode 100644 index a3eab5117..000000000 --- a/test/stdout/2099 +++ /dev/null @@ -1,4 +0,0 @@ -> 1 >>220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 -221 myhost.test.ex closing connection -<< -> diff --git a/test/stdout/2103 b/test/stdout/2103 deleted file mode 100644 index df5777d75..000000000 --- a/test/stdout/2103 +++ /dev/null @@ -1,72 +0,0 @@ -Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 550 -<<< 550 unacceptable cipher TLS1.x:ke-RSA-AES256-SHAnnn:xxx ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> helo rhu.barb -??? 250 -<<< 250 myhost.test.ex Hello rhu.barb [127.0.0.1] ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 250 -<<< 250 Accepted ->>> DATA -??? 3 -<<< 354 Enter message, ending with "." on a line by itself ->>> This is a test encrypted message. ->>> . -??? 250 -<<< 250 OK id=10HmaX-0005vi-00 ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2104 b/test/stdout/2104 deleted file mode 100644 index ac5245cba..000000000 --- a/test/stdout/2104 +++ /dev/null @@ -1,59 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 550 -<<< 550 encryption required ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script -Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 250 -<<< 250 Accepted ->>> DATA -??? 3 -<<< 354 Enter message, ending with "." on a line by itself ->>> This is a test unencrypted message. ->>> . -??? 250 -<<< 250 OK id=10HmaX-0005vi-00 ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2105 b/test/stdout/2105 deleted file mode 100644 index 7a0430c10..000000000 --- a/test/stdout/2105 +++ /dev/null @@ -1,37 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 550 -<<< 550 encryption required ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 250 -<<< 250 Accepted ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2106 b/test/stdout/2106 deleted file mode 100644 index ba53967e0..000000000 --- a/test/stdout/2106 +++ /dev/null @@ -1,23 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS -+++ 3 -End of script diff --git a/test/stdout/2115 b/test/stdout/2115 deleted file mode 100644 index fd6174058..000000000 --- a/test/stdout/2115 +++ /dev/null @@ -1,23 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -+++ 2 -??? 421 -<<< 421 myhost.test.ex: SMTP command timeout - closing connection -End of script diff --git a/test/stdout/2118 b/test/stdout/2118 deleted file mode 100644 index c7a0df4c4..000000000 --- a/test/stdout/2118 +++ /dev/null @@ -1,64 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 250 -<<< 250 Accepted ->>> DATA -??? 3 -<<< 354 Enter message, ending with "." on a line by itself ->>> This is a test encrypted message. ->>> . -??? 250 -<<< 250 OK id=10HmaX-0005vi-00 ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 550 -<<< 550 "You must encrypt" ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2119 b/test/stdout/2119 deleted file mode 100644 index b885461ed..000000000 --- a/test/stdout/2119 +++ /dev/null @@ -1,57 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -Attempting to start TLS -Succeeded in starting TLS -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250 -<<< 250 HELP ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 250 -<<< 250 Accepted ->>> DATA -??? 3 -<<< 354 Enter message, ending with "." on a line by itself ->>> This is a test encrypted message. ->>> . -??? 250 -<<< 250 OK id=10HmaX-0005vi-00 ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script -Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected -Certificate file = aux-fixed/cert2 -Key file = aux-fixed/cert2 -Attempting to start TLS -Succeeded in starting TLS -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> mail from: -??? 250 -<<< 250 OK ->>> rcpt to: -??? 250 -<<< 250 Accepted ->>> DATA -??? 3 -<<< 354 Enter message, ending with "." on a line by itself ->>> This is a test encrypted message from a verified host. ->>> . -??? 250 -<<< 250 OK id=10HmaY-0005vi-00 ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2122 b/test/stdout/2122 deleted file mode 100644 index 3f280e0d5..000000000 --- a/test/stdout/2122 +++ /dev/null @@ -1,30 +0,0 @@ -Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> help -??? 214- -<<< 214-Commands supported: -??? 214 -<<< 214 AUTH HELO EHLO MAIL RCPT DATA BDAT NOOP QUIT RSET HELP ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2123 b/test/stdout/2123 deleted file mode 100644 index 5022d27b3..000000000 --- a/test/stdout/2123 +++ /dev/null @@ -1,9 +0,0 @@ -220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 -250-myhost.test.ex Hello CALLER at a.b.c [10.9.8.10] -250-SIZE 52428800 -250-8BITMIME -250-PIPELINING -250-STARTTLS -250 HELP -550 Administrative prohibition -221 myhost.test.ex closing connection diff --git a/test/stdout/2128 b/test/stdout/2128 deleted file mode 100644 index 1ccd96b88..000000000 --- a/test/stdout/2128 +++ /dev/null @@ -1,45 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250- -<<< 250-STARTTLS -??? 250 -<<< 250 HELP ->>> starttls -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script -Connecting to 127.0.0.1 port 1226 ... connected -Attempting to start TLS -Succeeded in starting TLS -??? 220 -<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> ehlo rhu.barb -??? 250- -<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250- -<<< 250-SIZE 52428800 -??? 250- -<<< 250-8BITMIME -??? 250- -<<< 250-PIPELINING -??? 250 -<<< 250 HELP ->>> quit -??? 221 -<<< 221 myhost.test.ex closing connection -End of script diff --git a/test/stdout/2190 b/test/stdout/2190 deleted file mode 100644 index f08abd10b..000000000 --- a/test/stdout/2190 +++ /dev/null @@ -1,104 +0,0 @@ -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> EHLO rhu.barb -??? 250- -<<< 250-testhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250-SIZE -<<< 250-SIZE 52428800 -??? 250-8BITMIME -<<< 250-8BITMIME -??? 250-PIPELINING -<<< 250-PIPELINING -??? 250-CHUNKING -<<< 250-CHUNKING -??? 250-STARTTLS -<<< 250-STARTTLS -??? 250 HELP -<<< 250 HELP ->>> STARTTLS -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> EHLO rhu.barb -??? 250- -<<< 250-testhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250-SIZE -<<< 250-SIZE 52428800 -??? 250-8BITMIME -<<< 250-8BITMIME -??? 250-PIPELINING -<<< 250-PIPELINING -??? 250-CHUNKING -<<< 250-CHUNKING -??? 250 HELP -<<< 250 HELP ->>> MAIL FROM: -??? 250 -<<< 250 OK ->>> RCPT TO: -??? 250 -<<< 250 Accepted ->>> BDAT 88 LAST ->>> To: Susan@random.com ->>> From: Sam@random.com ->>> Subject: This is a bodyless test message ->>> -??? 250- -<<< 250- 88 byte chunk, total 88 -??? 250 -<<< 250 OK id=10HmaX-0005vi-00 ->>> QUIT -??? 221 -<<< 221 testhost.test.ex closing connection -End of script -Connecting to 127.0.0.1 port 1225 ... connected -??? 220 -<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 ->>> EHLO rhu.barb -??? 250- -<<< 250-testhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250-SIZE -<<< 250-SIZE 52428800 -??? 250-8BITMIME -<<< 250-8BITMIME -??? 250-PIPELINING -<<< 250-PIPELINING -??? 250-CHUNKING -<<< 250-CHUNKING -??? 250-STARTTLS -<<< 250-STARTTLS -??? 250 HELP -<<< 250 HELP ->>> STARTTLS -??? 220 -<<< 220 TLS go ahead -Attempting to start TLS -Succeeded in starting TLS ->>> EHLO rhu.barb -??? 250- -<<< 250-testhost.test.ex Hello rhu.barb [127.0.0.1] -??? 250-SIZE -<<< 250-SIZE 52428800 -??? 250-8BITMIME -<<< 250-8BITMIME -??? 250-PIPELINING -<<< 250-PIPELINING -??? 250-CHUNKING -<<< 250-CHUNKING -??? 250 HELP -<<< 250 HELP ->>> MAIL FROM:\r\nRCPT TO:\r\nBDAT 88 LAST\r\nTo: Susan@random.com\r\nFrom: Sam@random.com\r\nSubject: This is a bodyless test message\r\n -??? 250 -<<< 250 OK -??? 250 -<<< 250 Accepted -??? 250- -<<< 250- 88 byte chunk, total 88 -??? 250 -<<< 250 OK id=10HmaY-0005vi-00 ->>> QUIT -??? 221 -<<< 221 testhost.test.ex closing connection -End of script diff --git a/test/stdout/2199 b/test/stdout/2199 deleted file mode 100644 index a3eab5117..000000000 --- a/test/stdout/2199 +++ /dev/null @@ -1,4 +0,0 @@ -> 1 >>220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 -221 myhost.test.ex closing connection -<< -> -- cgit v1.2.3