• sbbsecho exit 1 and stop procesing nexts netmail/*.msg files

    From Fernando Toledo@1:103/705 to GitLab issue in main/sbbs on Tue Nov 12 19:03:32 2024
    open https://gitlab.synchro.net/main/sbbs/-/issues/824

    hi! I receive message from Ward (2:292/854) that the destination is a node to which I route vía 4:80/1 to Flavio (4:801/188)

    The problem seems to be (according to the log) that the attachment is not arriving correctly
    This causes sbbsecho to stop because it exits with exit code 1 and if there are other netmail/*.msg files these are never processed again

    The solution I found is to delete mannualy the XX.msg file that corresponds to the message. But obviously it is not the best solution.
    These are my doubts:
    * whether Ward is sending that attachment?, because it is not in the inbound
    * If I have some wrong configuration in my system?.
    * If tickit is not working properly for messages being routed, (I have no problems with filesechos that are received correctly and imported into their corresponding directory)

    Beyond this, I will verify it with him. The fact that sbbsecho stops working causes other netmails not to be processed.

    ```
    2024-11-07 20:44:44 SBBSecho 3.21-Linux master/8aea7d593 nov 06 2024 05:24 GCC 10.2.1 (PID 869991) invoked with options: -lesrby!
    2024-11-07 20:44:44 Configured: 7 archivers, 51 linked-nodes, 12 echolists 2024-11-07 20:44:44 NetMail directory: /sbbs/fido/netmail/
    2024-11-07 20:44:44 Secure Inbound directory: /sbbs/fido/inbound/
    2024-11-07 20:44:44 Non-secure Inbound directory: /sbbs/fido/inbound.nosecure/ 2024-11-07 20:44:44 Outbound (BSO root) directory: /sbbs/fido/outbound/ 2024-11-07 20:44:44 Read 649 areas from ../data/areas.bbs
    2024-11-07 20:44:44 Read 0 areas from ../data/badareas.lst
    2024-11-07 20:44:46 Read 658 echo statistics from ../data/echostats.ini 2024-11-07 20:44:46 Stray Outbound Packet (type 2+) found, from local address 4:902/26 to 2:341/66: /sbbs/temp/sbbsecho/672d4c3f.pkt
    2024-11-07 20:44:46 Stray Outbound Packet (type 2+) found, from local address 4:902/26 to 4:880/1: /sbbs/temp/sbbsecho/672d4c40.pkt
    2024-11-07 20:44:46 Stray Outbound Packet (type 2+) found, from local address 4:902/26 to 4:88/0: /sbbs/temp/sbbsecho/672d4c41.pkt
    2024-11-07 20:44:46 Stray Outbound Packet (type 2+) found, from local address 4:902/26 to 4:900/106: /sbbs/temp/sbbsecho/672d4c42.pkt
    2024-11-07 20:44:46 Stray Outbound Packet (type 2+) found, from local address 4:902/26 to 4:902/19: /sbbs/temp/sbbsecho/672d4c43.pkt
    2024-11-07 20:44:46 Stray Outbound Packet (type 2+) found, from local address 4:902/26 to 1:229/426: /sbbs/temp/sbbsecho/672d4da6.pkt
    2024-11-07 20:44:46 6 stray outbound packets (6 total pkts) found in /sbbs/temp/sbbsecho/
    2024-11-07 20:44:46 Unpacking bundle: /sbbs/fido/inbound/2d512b00.fr0 (0.7KB) 2024-11-07 20:44:46 libarchive extracted 1 files from /sbbs/fido/inbound/2d512b00.fr0
    2024-11-07 20:44:46 Deleting /sbbs/fido/inbound/2d512b00.fr0 (from line 2769) 2024-11-07 20:44:46 Importing /sbbs/fido/inbound/2d512b00.pkt (type 2e, 0.8KB) from 2:341/66 to 4:902/26
    2024-11-07 20:44:46 Added UKRNEWS message from News Ukraine (2:467/888.188) to packets for 0 links (exceptions: 1 seen)
    2024-11-07 20:44:46 Deleting /sbbs/fido/inbound/2d512b00.pkt (from line 6108) 2024-11-07 20:44:46 Imported: 1 msgs fidonetukrnews <- UKRNEWS
    2024-11-07 20:44:46 Imported: 1 msgs total
    2024-11-07 20:44:46 Packing NetMail (3.msg) from TICK v2.10 (2:292/854) to nighthawk (4:801/188), attr: 0011 (PRIVATE, FILE), subject: /sbbs/fido/inbound/NODEDIFF.Z13 TK801502.tic
    2024-11-07 20:44:46 Routing NetMail (3.msg) to 4:80/1
    2024-11-07 20:44:46 Node (4:80/1) successfully locked via: /sbbs/fido/outbound/00500001.bsy
    2024-11-07 20:44:46 ERROR line 774, attachment file not found: /sbbs/fido/inbound/NODEDIFF.Z13 TK801502.tic
    2024-11-07 20:44:46 Writing 0 areas to ../data/badareas.lst
    2024-11-07 20:44:46 Deleting /sbbs/fido/outbound/00500001.bsy (from line 3013) 2024-11-07 20:44:46 Deleting /sbbs/ctrl/sbbsecho.bsy (from line 3019) 2024-11-07 20:44:46 SBBSecho (PID 869991) exiting with error level 1, Bundles(1 unpacked, 0 sent), Packets(1 imported, 0 sent), EchoMail(1 imported, 0 exported)
    ```

    netmail/3.msg example:


    ```
    # fmsgdump -ctrl -body 3.msg
    fmsgdump rev 3.7 - Dump FidoNet Stored Messages

    Opening 3.msg
    Subj: /sbbs/fido/inbound/NODEDIFF.Z13 TK801502.tic
    Attr: 0x0011 (PRIVATE, FILE)
    To : nighthawk (4:801/188.0)
    From: TICK v2.10 (2:292/854.0)
    Time: 08 Nov 124 00:15:02

    -start of message text-
    @INTL 4:801/188 2:292/854

    @Via 2:292/854@Ward_Dossche @20241107.231859.UTC O/T-Track+ 2.85
    @Via 4:80/1 @20241107.201622.UTC Mystic 1.12 A48
    -end of message text-
    ```

    Any help on where to start looking to resolve this is appreciated.

    Saludos!
    --- SBBSecho 3.21-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Tue Nov 12 19:23:21 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/824#note_5994

    It appears the problem is there are multiple files in the subject of the netmail message from TICK:
    `/sbbs/fido/inbound/NODEDIFF.Z13 TK801502.tic`

    SBBSecho isn't expecting multiple filenames in the subject, even though FTS-1 does specify this:
    If one or more of FileAttached, FileRequest, or FileUpdateReq are
    asserted in an AttributeWord, the subject{72} field is interpreted as
    a list of file specifications which may include wildcards and other system-dependent data. This list is of the form

    FileList = [ FileSpec { Sep FileSpec } ] Null

    FileSpec = (* implementation dependent file specification. may
    not contain Null or any of the characters in Sep. *)

    Sep = ( " " | "," ) { " " }


    So that should be fixed in SBBSecho.
    --- SBBSecho 3.21-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Tue Nov 12 20:07:48 2024
    close https://gitlab.synchro.net/main/sbbs/-/issues/824
    --- SBBSecho 3.21-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)