Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Once I finally figured out all of life's answers, they changed the questions.


dovenet / Synchronet Programming / src/sbbs3/mailsrvr.c

SubjectAuthor
o src/sbbs3/mailsrvr.cRob Swindell (in GitKraken)

1
src/sbbs3/mailsrvr.c

<63FD593B.46674.syncprog@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=675&group=DOVE-Net.Synchronet_Programming#675

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: rob.swindell.(in.gitkraken)@VERT (Rob Swindell (in GitKraken))
To: Git commit to main/sbbs/master
Subject: src/sbbs3/mailsrvr.c
Message-ID: <63FD593B.46674.syncprog@vert.synchro.net>
Date: Mon, 27 Feb 2023 10:30:35 -0800
X-Comment-To: Git commit to main/sbbs/master
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Programming
X-FTN-PID: Synchronet 3.20a-Linux master/333b66092 Feb 25 2023 GCC 12.2.0
X-FTN-MSGID: 46674.syncprog@1:103/705 2863458d
X-FTN-CHRS: CP437 2
WhenImported: 20230227173035-0800 41e0
WhenExported: 20230227221814-0800 41e0
ExportedFrom: VERT syncprog 46674
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Rob Swindell (in Git - Mon, 27 Feb 2023 18:30 UTC

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 lines

Log 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.

---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net


dovenet / Synchronet Programming / src/sbbs3/mailsrvr.c

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor