mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-07-03 12:21:57 +02:00
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:
@ -11106,7 +11106,7 @@ starttls_smtp_dialog() {
|
|||||||
[[ -n "$2" ]] && starttls="$starttls\r\n$2" # this adds a payload if supplied
|
[[ -n "$2" ]] && starttls="$starttls\r\n$2" # this adds a payload if supplied
|
||||||
if [[ "$1" == lmtp ]]; then
|
if [[ "$1" == lmtp ]]; then
|
||||||
proto="lmtp"
|
proto="lmtp"
|
||||||
greet_str="LHLO"
|
greet_str="LHLO testssl.sh"
|
||||||
fi
|
fi
|
||||||
debugme echo "=== starting $proto STARTTLS dialog ==="
|
debugme echo "=== starting $proto STARTTLS dialog ==="
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user