Merge pull request #2220 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
commit 0b29be2444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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