BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/mailsrvr.cpp
De:       Rob Swindell (on Windows
Data:     Wed, 11 Feb 2026 17:27:00 -0800
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/47560c50d5d83383947c349a
Modified Files:
	src/sbbs3/mailsrvr.cpp
Log Message:
Remove quotes from RCPT TO:  before comparing to local names

This resolve an issue observed with Thunderbird sending to local:@bbs:
Unknown User: <"local:name"@vert.synchro.net>.

Presumably, Thunderbird is adding the quotes because of the colon. I've not
seen this issue before, so perhaps this is new behavior of Thunderbird. In any
case, RFC[2]821 specifies that the RCPT TO argument is a Mailbox and that the
local-part of a Mailbox may be a quoted-string (instead of a dot-string). So,
Synchronet hasn't been compliant in this regard all these years.

No special parsing of \" is implemented since we don't support quotes in names
anyway. RFC 821 says the character following a backslash () may be
"any one of the 128 ASCII characters (no exceptions)" - that implies all
control characters too, which sounds really dangerous. That language seems
fixed in RFC 2821, but I'm not trying to solve all the crazy escaping
possibilities in this simple commit.

The original RCPT TO argument (with quotes, if present) is still stored for
subsequent forwarding or whatever.
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]