mademast / sail

✉️ A strictly standards compliant SMTP server
ISC License
10 stars 0 forks source link

Should respond to control signals (^C, ^Z, etc) with syntax errors, not silence #4

Closed novedevo closed 3 years ago

novedevo commented 3 years ago

I think? it's not a valid command, and it ends with CRLF. RFCs didn't mention anything about control characters.

novedevo commented 3 years ago

this doesn't appear to be an issue in our code, actually. The response is correctly written to the stream, and commands continue to be read, but it never makes it through telnet. Could be a telnet issue?

novedevo commented 3 years ago

definitely a telnet issue. openSMTPD and friends have the same response. Telnet is waiting for a response code to the control character, and since we never return telnet control codes, it waits forever.