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