1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-07-17 01:32:33 +02:00

Correct format string in EHLO response

This commit is contained in:
Ralph Slooten
2025-01-25 11:57:32 +13:00
parent b2ffb7476d
commit 2a6ab0476b

View File

@ -390,7 +390,7 @@ loop:
buffer.Reset()
case "EHLO":
s.remoteName = args
s.writef(s.makeEHLOResponse())
s.writef("%s", s.makeEHLOResponse())
// RFC 2821 section 4.1.4 specifies that EHLO has the same effect as RSET.
from = ""