1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-07-03 20:31:57 +02:00

Merge pull request from ghen2/lmtp

Send a proper LHLO command with argument (like EHLO), to fix -t lmtp.
This commit is contained in:
Dirk Wetter
2022-08-28 20:10:01 +02:00
committed by GitHub

@ -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 ==="