• Fromaddr question

    From Nil Alexandrov@2:5015/46 to All on Sun Sep 14 07:21:42 2025
    Hello, All!

    I am trying to understand why jamnntpd/smapinntpd will write my from address 2:5015/46 in reverse order like this <0@46.5015.2>. Is it a bug or a feature?
    I guess it is a feature but then what kind of issue it tries to solve?

    Below is the snippet from nntpserv.c which does it

    if(sscanf(fromaddr,"%u:%u/%u.%u", &zone, &net, &node, &point)==4)
    sprintf(fromaddr,"%u@%u.%u.%u", point, node, net, zone);

    Best Regards, Nil
    --- GoldED+/LNX 1.1.5-b20240306
    * Origin: ChatGPT can make mistakes. Check important info. (2:5015/46)
  • From Tommi Koivula@2:221/360 to Nil Alexandrov on Sun Sep 14 10:06:54 2025
    Hello, Nil Alexandrov.
    On 14/09/2025 6.21 you wrote:

    Hello, All! I am trying to understand why
    jamnntpd/smapinntpd will write my from address
    2:5015/46 in reverse order like this
    <0@46.5015.2>. Is it a bug or a feature? I guess
    it is a feature but then what kind of issue it
    tries to solve?

    It is a feature. Some nntp clients dont like chars : and / in the email address. That is the way to show ftn address in email-like format.



    --
    'Tommi

    --- FastEcho/2 1.46.1 Revival
    * Origin: nntp://rbb.fidonet.fi - Finland (2:221/360.0)
  • From Nil Alexandrov@2:5015/46 to Tommi Koivula on Sun Sep 14 10:17:14 2025
    Hello, Tommi!

    Sunday September 14 2025 10:06, from Tommi Koivula -> Nil Alexandrov:

    I am trying to understand why
    jamnntpd/smapinntpd will write my from address
    2:5015/46 in reverse order like this
    <0@46.5015.2>. Is it a bug or a feature? I guess
    it is a feature but then what kind of issue it
    tries to solve?

    It is a feature. Some nntp clients dont like chars : and / in the
    email address. That is the way to show ftn address in email-like
    format.

    I understand that part but still why using a point number as a username before the @ symbol? Why writing the FTN address in reverse order? Why not follow say http://ftsc.org/docs/frl-1002.001 user.name@pPP.fFF.nNN.zZZ.gateway.domain ?

    Also, there is a bug with the X-SMAPI-From field, which I will try to investigate later
    X-SMAPI-From: Dmitry Protasoff <0:0/0.0>
    X-SMAPI-To: Nil A <2:5001/100.1>

    Best Regards, Nil
    --- GoldED+/LNX 1.1.5-b20240306
    * Origin: ChatGPT can make mistakes. Check important info. (2:5015/46)
  • From Nick Boel@1:154/10 to Nil Alexandrov on Sun Sep 14 08:56:22 2025
    Hey Nil!

    On Sun, Sep 14 2025 07:17:14 -0500, you wrote:

    I understand that part but still why using a point number as a
    username before the @ symbol? Why writing the FTN address in reverse
    order? Why not follow say http://ftsc.org/docs/frl-1002.001 user.name@pPP.fFF.nNN.zZZ.gateway.domain ?

    I agree here. If there were to be any way to email a person through some sort of gateway or other, it should probably follow this method. Although, just to be fair here, the above is also in reverse order, it just also includes a user name and gateway domain. > Also, there is a bug with the X-SMAPI-From field, which I will try
    to investigate later
    X-SMAPI-From: Dmitry Protasoff <0:0/0.0> > X-SMAPI-To: Nil A <2:5001/100.1>

    I've noticed this as well in the past and never really thought anything of it, until you brought it up.

    Regards,
    Nick

    ... Sarcasm, because beating people up is illegal.
    --- Mozilla Thunderbird
    * Origin: The Pharcyde ~ telnet://bbs.pharcyde.org (Wisconsin) (1:154/10)
  • From Nil Alexandrov@2:5015/46 to Nick Boel on Sun Sep 14 17:55:50 2025
    Hello, Nick!

    Sunday September 14 2025 08:56, from Nick Boel -> Nil Alexandrov:

    I agree here. If there were to be any way to email a person through
    some sort of gateway or other, it should probably follow this method.

    I think the right solution would be to specify the *gateway.domain* in the config and that should construct the from address like user.name@pPP.fFF.nNN.zZZ.gateway.domain. This is not a big patch I might be able to provide.

    bug with the X-SMAPI-From field, which I will try
    to investigate later
    X-SMAPI-From: Dmitry Protasoff <0:0/0.0> > X-SMAPI-To: Nil A
    <2:5001/100.1>
    I've noticed this as well in the past and never really thought
    anything of it, until you brought it up.

    I can find what is wrong there and fix but the first thing I would like to do is to sync all the branches of jamnntpd/smapinntpd. Check this out what..

    % git remote -v
    axxisd https://github.com/axxisd/smapinntpd (fetch)
    axxisd https://github.com/axxisd/smapinntpd (push)
    jam_axxisd https://github.com/axxisd/jamnntpd (fetch)
    jam_axxisd https://github.com/axxisd/jamnntpd (push)
    jam_cnb https://github.com/cnb/jamnntpd.git (fetch)
    jam_cnb https://github.com/cnb/jamnntpd.git (push)
    jam_ftnapps https://github.com/ftnapps/jamnntpd.git (fetch)
    jam_ftnapps https://github.com/ftnapps/jamnntpd.git (push)
    origin https://github.com/ftnapps/smapinntpd.git (fetch)
    origin https://github.com/ftnapps/smapinntpd.git (push)

    Best Regards, Nil
    --- GoldED+/LNX 1.1.5-b20240306
    * Origin: ChatGPT can make mistakes. Check important info. (2:5015/46)
  • From Nick Boel@1:154/10 to Nil Alexandrov on Sun Sep 14 18:56:32 2025
    Hey Nil!

    On Sun, 14 Sep 2025 17:55:50 +0300, you wrote:

    I think the right solution would be to specify the *gateway.domain* in
    the config and that should construct the from address like user.name@pPP.fFF.nNN.zZZ.gateway.domain. This is not a big patch I
    might be able to provide.

    Agreed and that would be awesome?

    I can find what is wrong there and fix but the first thing I would like
    to do is to sync all the branches of jamnntpd/smapinntpd. Check this out what..

    % git remote -v
    axxisd https://github.com/axxisd/smapinntpd (fetch)
    axxisd https://github.com/axxisd/smapinntpd (push)
    jam_axxisd https://github.com/axxisd/jamnntpd (fetch)
    jam_axxisd https://github.com/axxisd/jamnntpd (push)

    The above are mine, and have recently been updated to compile on the latest gcc 15.2.1, and smapinntpd includes/installs smapi with part of the make process so you don't have to go and install it separately yourself.

    I'm unsure as to if either of them compile or work on Windows, though.

    jam_cnb https://github.com/cnb/jamnntpd.git (fetch)
    jam_cnb https://github.com/cnb/jamnntpd.git (push)

    This is Carlos Navarro's fork, which I believe he used on Windows. I haven't actually heard from him in some time, though. Maybe he is still able to be contacted through Fidonet?

    jam_ftnapps https://github.com/ftnapps/jamnntpd.git (fetch)
    jam_ftnapps https://github.com/ftnapps/jamnntpd.git (push)
    origin https://github.com/ftnapps/smapinntpd.git (fetch)
    origin https://github.com/ftnapps/smapinntpd.git (push)

    These are the original repos by RJ Clay. I believe he took what was on sourceforge at the time (1.0 by Billings), changed up a few things, changing versions from 1.1 to 1.2, and then put it on github as v1.3. Nobody has access to these, because the maintainer (RJ) has passed away. So both Carlos and myself forked from this version. I don't think Carlos has done much with it after initially fixing some very annoying outstanding bugs.

    For the record, my repositories have everything Carlos has done and more. I'm unsure as to why we didn't work together to begin with, but that was awhile ago now.

    Is there anything else we can do? I'm not much of a github wizard or anything so I would gladly take suggestions.

    Regards,
    Nick

    ... Sarcasm: because beating people up is illegal.
    --- GoldED+/LNX 1.1.5-b20250409
    * Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin) (1:154/10)