• 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)