Subj : src/sbbs3/mailsrvr.c To : Git commit to main/sbbs/master From : Rob Swindell (in GitKraken) Date : Mon Feb 27 2023 17:30:35 https://gitlab.synchro.net/main/sbbs/-/commit/b19288125fb9470836cf50af Modified Files: src/sbbs3/mailsrvr.c Log Message: Reject SMTP session from any client that sends illegally-long linesLog a warning message and send a "500 Line too long" before disconnecting any SMTP client that sends lines > 998 characters in length. Technically, we can handle lines up to 1023 characters, but then we could get out of sync with the client if it sends exactly 1023 chars and then a new-line char (which we would interpret as a blank line, separating the message header and body) - so just punt the client who doesn't obey the rules of the protocol. --- SBBSecho 3.20-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .