• NNTP and To: field

    From Carlos Navarro@2:341/234.1 to digital man on Tuesday, November 04, 2025 17:07:27
    Replies in echomail areas through Synchronet's NNTP server include "All" in the To: field. I had assumed this was standard behavior for SBBS, similar to the old NNTP-FTN gateways. (However, the REPLY kludge appears to be functioning correctly, allowing messages to be properly threaded.)

    After reviewing the source code of nntpservice.js, I discovered a function named getReferenceTo. If I'm not mistaken, this function should return the recipient's name, but it defaults to "All" when a recipient isn't found.

    Could it be that this function isn't working as intended?

    Carlos

    --- GoldED+/W32-MSVC 1.1.5-b20180707
    * Origin: cyberiada (2:341/234.1)
  • From Digital Man@1:103/705 to Carlos Navarro on Tuesday, November 04, 2025 14:01:03
    Re: NNTP and To: field
    By: Carlos Navarro to digital man on Tue Nov 04 2025 05:07 pm

    Replies in echomail areas through Synchronet's NNTP server include "All" in the To: field. I had assumed this was standard behavior for SBBS, similar to the old NNTP-FTN gateways. (However, the REPLY kludge appears to be functioning correctly, allowing messages to be properly threaded.)

    After reviewing the source code of nntpservice.js, I discovered a function named getReferenceTo. If I'm not mistaken, this function should return the recipient's name, but it defaults to "All" when a recipient isn't found.

    Could it be that this function isn't working as intended?

    If a recipient isn't found, "All" seems like a sensible default. Are you saying the failure to find a recipient is a bug? Feel free to play with it and offer up a patch if you have one.
    --
    digital man (rob)

    Rush quote #63:
    He's got a problem with his poisons, but you know he'll find a cure
    Norco, CA WX: 77.6øF, 47.0% humidity, 5 mph NW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.31-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to All on Wednesday, November 05, 2025 14:21:10
    On Tue, 4 Nov 2025 14:01:03 -0800
    "Digital Man" (VERT) <VERT!Digital.Man@endofthelinebbs.com> wrote:

    Re: NNTP and To: field
    By: Carlos Navarro to digital man on Tue Nov 04 2025 05:07 pm

    Replies in echomail areas through Synchronet's NNTP server include
    "All" in the To: field. I had assumed this was standard behavior
    for SBBS, similar to the old NNTP-FTN gateways. (However, the
    REPLY kludge appears to be functioning correctly, allowing
    messages to be properly threaded.)

    After reviewing the source code of nntpservice.js, I discovered a
    function named getReferenceTo. If I'm not mistaken, this function
    should return the recipient's name, but it defaults to "All" when
    a recipient isn't found.

    Could it be that this function isn't working as intended?

    If a recipient isn't found, "All" seems like a sensible default. Are
    you saying the failure to find a recipient is a bug? Feel free to
    play with it and offer up a patch if you have one.

    I like the Synchronet "You touch it, you own it" model :)
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    * Synchronet * End Of The Line BBS - endofthelinebbs.com
    --- SBBSecho 3.31-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Accession@1:103/705 to Digital Man on Wednesday, November 05, 2025 17:08:18
    Hey Digital!

    On Tue, 04 Nov 2025 14:01:02 -0800, you wrote:

    Replies in echomail areas through Synchronet's NNTP server include
    "All" in the To: field. I had assumed this was standard behavior for
    SBBS, similar to the old NNTP-FTN gateways. (However, the REPLY
    kludge appears to be functioning correctly, allowing messages to be
    properly threaded.)

    After reviewing the source code of nntpservice.js, I discovered a
    function named getReferenceTo. If I'm not mistaken, this function
    should return the recipient's name, but it defaults to "All" when a
    recipient isn't found.

    Could it be that this function isn't working as intended?

    If a recipient isn't found, "All" seems like a sensible default. Are you saying the failure to find a recipient is a bug? Feel free to play with
    it and offer up a patch if you have one.

    I think what he was saying, is that even when there /is/ a recipient (doesn't just about every 'reply' message have a recipient?), it still uses "All" (and I don't disagree that is indeed how NNTP has always worked). I believe I came across that as well awhile back, and may have even tried to change "All" to 'hdr.to' or something (which of course didn't work because I don't know what I'm doing), but with Thunderbird and slrn I am able to stuff an "X-Comment-To" field into the headers so that they both reply to the specific person all of the time.

    Regards,
    Nick

    ... Sarcasm: because beating people up is illegal.
    --- GoldED+/LNX 1.1.5-b20250409
    # Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin) (723:1/1)
    ï¿­ Synchronet ï¿­ _thePharcyde telnet://bbs.pharcyde.org (Wisconsin)
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Accession on Wednesday, November 05, 2025 18:03:01
    Re: NNTP and To: field
    By: Accession to Digital Man on Wed Nov 05 2025 05:08 pm

    Hey Digital!

    On Tue, 04 Nov 2025 14:01:02 -0800, you wrote:

    Replies in echomail areas through Synchronet's NNTP server include
    "All" in the To: field. I had assumed this was standard behavior for
    SBBS, similar to the old NNTP-FTN gateways. (However, the REPLY
    kludge appears to be functioning correctly, allowing messages to be
    properly threaded.)

    After reviewing the source code of nntpservice.js, I discovered a
    function named getReferenceTo. If I'm not mistaken, this function
    should return the recipient's name, but it defaults to "All" when a
    recipient isn't found.

    Could it be that this function isn't working as intended?

    If a recipient isn't found, "All" seems like a sensible default. Are you saying the failure to find a recipient is a bug? Feel free to play with it and offer up a patch if you have one.

    I think what he was saying, is that even when there /is/ a recipient (doesn't just about every 'reply' message have a recipient?), it still uses "All" (and I don't disagree that is indeed how NNTP has always worked).

    No, not all USENET replies have a recipient. X-Comment-to is not a requirement or universally used.
    --
    digital man (rob)

    Synchronet "Real Fact" #31:
    The Synchronet IRC server (ircd) was written in JS by Randy Sommerfeld (Cyan) Norco, CA WX: 61.1øF, 72.0% humidity, 5 mph WNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.31-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From poindexter FORTRAN@1:103/705 to nelgin on Thursday, November 06, 2025 07:16:44
    nelgin wrote to All <=-

    If a recipient isn't found, "All" seems like a sensible default. Are
    you saying the failure to find a recipient is a bug? Feel free to
    play with it and offer up a patch if you have one.

    I like the Synchronet "You touch it, you own it" model :)

    I thought NNTP didn't have a to: field?



    --- MultiMail/Win v0.52
    þ Synchronet þ .: realitycheckbbs.org :: scientia potentia est :.
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Accession@1:103/705 to Digital Man on Thursday, November 06, 2025 16:40:46
    Hey Digital!

    On Wed, 05 Nov 2025 18:03:00 -0800, you wrote:

    I think what he was saying, is that even when there /is/ a recipient
    (doesn't just about every 'reply' message have a recipient?), it
    still uses "All" (and I don't disagree that is indeed how NNTP has
    always worked).

    No, not all USENET replies have a recipient.

    Correct, however /this/ (as in what I'm fairly certain we're discussing) isn't USENET. We're using NNTP to access our message bases (which may or may not actually carry USENET). I think this conversation was much more pointing towards BBS/FTN messages. Most local and FTN messages (particularly replies) on a BBS usually have a recipient (do they not?), unless it's specifically sent to "All".

    X-Comment-to is not a requirement or universally used.

    You're right. However, in the hobby we are involved in, it makes the normal "To" and "From" fields look like everyone elses that aren't using NNTP. I also wasn't stating that Synchronet needed to do that, I was just mentioning that's how I got around all of my messages posted with a newsreader being addressed to "All".

    What (I think?) the question from the OP was, was asking why /all/ messages are addressed to "All" when it seems like there's something already in the code that is looking for a recipient it could be filling the "To" field with on a reply?

    Regards,
    Nick

    ... Sarcasm: because beating people up is illegal.
    --- GoldED+/LNX 1.1.5-b20250409
    # Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin) (723:1/1)
    ï¿­ Synchronet ï¿­ _thePharcyde telnet://bbs.pharcyde.org (Wisconsin)
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Dumas Walker@1:103/705 to POINDEXTER FORTRAN on Friday, November 07, 2025 13:15:34
    If a recipient isn't found, "All" seems like a sensible default. Are
    you saying the failure to find a recipient is a bug? Feel free to
    play with it and offer up a patch if you have one.

    I like the Synchronet "You touch it, you own it" model :)

    I thought NNTP didn't have a to: field?

    In the early 1990s when I first started using Usenet, IIRC just about every
    (if not all) messages ported over to my BBS were "To: All" and responses
    from the BBS side, while showing a To: receipient locally, were posted to usenet as if "To: All."

    Now, most of the messages that come across the Usenet gates have a
    receipient listed. Very few replies still come across as "To: All."

    Not sure if that answers you question or not. ;)


    * SLMR 2.1a * Thesaurus: prehistoric reptile with a great vocabulary.
    ---
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Carlos Navarro@2:341/200 to All on Sunday, November 09, 2025 13:51:53
    06/11/2025 23:40, Accession (1:103/705):

    I think what he was saying, is that even when there /is/ a recipient
    (doesn't just about every 'reply' message have a recipient?), it
    still uses "All" (and I don't disagree that is indeed how NNTP has
    always worked).

    No, not all USENET replies have a recipient.
    Correct, however /this/ (as in what I'm fairly certain we're discussing) isn't USENET. We're using NNTP to access our message bases (which may or
    may not actually carry USENET). I think this conversation was much more pointing towards BBS/FTN messages. Most local and FTN messages
    (particularly replies) on a BBS usually have a recipient (do they not?), unless it's specifically sent to "All".

    X-Comment-to is not a requirement or universally used.

    You're right. However, in the hobby we are involved in, it makes the
    normal "To" and "From" fields look like everyone elses that aren't using NNTP. I also wasn't stating that Synchronet needed to do that, I was
    just mentioning that's how I got around all of my messages posted with a newsreader being addressed to "All".

    What (I think?) the question from the OP was, was asking why /all/
    messages are addressed to "All" when it seems like there's something
    already in the code that is looking for a recipient it could be filling
    the "To" field with on a reply?

    Yes, that's what I meant. Thanks, Nick.

    This is a reply to a message from Accession in the SYNCHRONET echomail
    area, sent via Thunderbird on the NNTP server of a Synchronet-based BBS.
    The message will likely be posted to the echo with recipient "To: All"
    instead of "To: Accession"

    Carlos
    --- SBBSecho 3.30-Linux
    * Origin: Zruspa's BBS - bbs.zruspas.org (2:341/200)
  • From Carlos Navarro@2:341/234.1 to Accession on Sunday, November 09, 2025 14:07:07
    05 Nov 2025 17:08, you wrote to Digital Man:

    but with Thunderbird and slrn I am able to stuff an "X-Comment-To" field into the headers so that they both reply to the specific person all
    of the time.

    Interesting! Could you share how to do that in TB?

    Carlos

    --- GoldED+/W32-MSVC 1.1.5-b20180707
    * Origin: cyberiada (2:341/234.1)
  • From Accession@1:103/705 to Carlos Navarro on Sunday, November 09, 2025 08:54:22
    Hey Carlos!

    On Sun, Nov 09 2025 07:07:07 -0600, you wrote:

    05 Nov 2025 17:08, you wrote to Digital Man:

    > but with Thunderbird and slrn I am able to stuff an "X-Comment-To" field
    > into the headers so that they both reply to the specific person all
    > of the time.

    Interesting! Could you share how to do that in TB?
    Here is a message posted with Thunderbird with the "X-Comment-To" field filled in.

    This is the only way I could do it with TB, and while it's not super friendly (you'll forget to do it sometimes, probably), it works:

    Settings > Config Editor

    - Search for 'mail.compose.other.header', edit it and put "X-Comment-To" without quotes.

    When you write/reply to a message, in the header there it says "Followup-To >>", hit the ">>" drop down menu, and "X-Comment-To" will be an option to select now. Then, fill it in with who you're writing the message to (yes, manually).

    Unfortunately, I haven't found a way to make this automatic with TB, whereas with slrn I can just use the "set custom_headers "X-Comment-To: All"" to new posts (which may not even be needed), and "set followup_custom_headers "X-Comment-To: %r"" (%r is recipient) right in the config file, and it's always automatic.

    Regards,
    Nick

    ... Sarcasm, because beating people up is illegal.
    ---
    ï¿­ Synchronet ï¿­ _thePharcyde telnet://bbs.pharcyde.org (Wisconsin)
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Accession@1:103/705 to Carlos Navarro on Sunday, November 09, 2025 08:26:54
    Hey Carlos!

    On Sun, 09 Nov 2025 13:51:52 +0100, you wrote:

    Yes, that's what I meant. Thanks, Nick.

    This is a reply to a message from Accession in the SYNCHRONET echomail
    area, sent via Thunderbird on the NNTP server of a Synchronet-based BBS.
    The message will likely be posted to the echo with recipient "To: All" instead of "To: Accession"

    You were correct. It came through addressed to "All".

    Regards,
    Nick

    ... Sarcasm: because beating people up is illegal.
    --- GoldED+/LNX 1.1.5-b20250409
    # Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin) (723:1/1)
    ï¿­ Synchronet ï¿­ _thePharcyde telnet://bbs.pharcyde.org (Wisconsin)
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Carlos Navarro@2:341/234.1 to Digital Man on Tuesday, November 11, 2025 21:29:34
    04 Nov 2025 14:01, you wrote to me:

    Replies in echomail areas through Synchronet's NNTP server include
    "All" in the To: field. I had assumed this was standard behavior
    for SBBS, similar to the old NNTP-FTN gateways. (However, the REPLY
    kludge appears to be functioning correctly, allowing messages to be
    properly threaded.)

    After reviewing the source code of nntpservice.js, I discovered a
    function named getReferenceTo. If I'm not mistaken, this function
    should return the recipient's name, but it defaults to "All" when a
    recipient isn't found.

    Could it be that this function isn't working as intended?

    If a recipient isn't found, "All" seems like a sensible default. Are
    you saying the failure to find a recipient is a bug? Feel free to play
    with it and offer up a patch if you have one.

    I've been playing a bit and here's a patch. Edit nntpservice.js (line 107 in revision 1.2, or line 111 in current 1.3) and change:

    var hdr2 = mb.get_msg_header(hdr.reply_id);

    to:

    var hdr2 = mb.get_msg_header(hdr.reply_id + '');

    There may be another way, but this seems to work.

    Carlos

    --- GoldED+/W32-MSVC 1.1.5-b20180707
    * Origin: cyberiada (2:341/234.1)
  • From Digital Man@1:103/705 to Carlos Navarro on Tuesday, November 11, 2025 14:08:17
    Re: NNTP and To: field
    By: Carlos Navarro to Digital Man on Tue Nov 11 2025 09:29 pm

    I've been playing a bit and here's a patch. Edit nntpservice.js (line 107 in revision 1.2, or line 111 in current 1.3) and change:

    var hdr2 = mb.get_msg_header(hdr.reply_id);

    to:

    var hdr2 = mb.get_msg_header(hdr.reply_id + '');

    There may be another way, but this seems to work.

    That change would just change (force) hdr.reply_id to be a string. It should already be a string, so that change should do nothing.
    --
    digital man (rob)

    Sling Blade quote #11:
    Doyle Hargraves (to Karl): What in the hell you doin' with that hammer?
    Norco, CA WX: 79.1øF, 38.0% humidity, 4 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.31-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Carlos Navarro@2:341/234.1 to Accession on Wednesday, November 19, 2025 17:21:04
    09 Nov 2025 08:54, you wrote to me:

    Interesting! Could you share how to do that in TB?

    Here is a message posted with Thunderbird with the "X-Comment-To"
    field filled in.

    This is the only way I could do it with TB, and while it's not super friendly (you'll forget to do it sometimes, probably), it works:

    Settings > Config Editor

    - Search for 'mail.compose.other.header', edit it and put
    "X-Comment-To" without quotes.

    When you write/reply to a message, in the header there it says
    "Followup-To >>", hit the ">>" drop down menu, and "X-Comment-To"
    will be an option to select now. Then, fill it in with who you're
    writing the message to (yes, manually).

    Thank you.

    This can still be useful even if the "To: All" issue has been fixed in SBBS's NNTP server. You can use it this to change the default recipient to another one (or to set one when posting a new message), just like when you write "to: some one" in the first line of the message text in JamNNTPd.

    Carlos

    --- GoldED+/W32-MSVC 1.1.5-b20180707
    * Origin: cyberiada (2:341/234.1)