From e77dd4a825681b6d95b203fb8f7d4d25938d5a72 Mon Sep 17 00:00:00 2001 From: Geert Hendrickx Date: Sat, 27 Aug 2022 21:42:33 +0200 Subject: [PATCH] Send a proper LHLO command with argument (like EHLO), to fix -t lmtp. --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 13cdfd2..9204ab5 100755 --- a/testssl.sh +++ b/testssl.sh @@ -11106,7 +11106,7 @@ starttls_smtp_dialog() { [[ -n "$2" ]] && starttls="$starttls\r\n$2" # this adds a payload if supplied if [[ "$1" == lmtp ]]; then proto="lmtp" - greet_str="LHLO" + greet_str="LHLO testssl.sh" fi debugme echo "=== starting $proto STARTTLS dialog ==="