• Abilitiy to have robots that use *.msg files

    From Deucе@1:103/705 to GitLab issue in main/sbbs on Thursday, October 30, 2025 15:19:09
    open https://gitlab.synchro.net/main/sbbs/-/issues/1001

    In The Clans, the IBBS "stuff" needs the *.msg file and the attached cl*.* file to properly process packets, so it needs the semaphore created after sbbsecho unpacks the msg file.

    Rather than a new feature, an option to have the robot not import the message and leave the file but still touch the semaphore would be great.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Thursday, October 30, 2025 15:36:39
    https://gitlab.synchro.net/main/sbbs/-/issues/1001#note_7809

    It looks like it would be a matter of adding an extra field to `struct robot`, adding a new key to set it, then having `import_netmail()` return some appropriate non-zero magic value when the robot name is matched instead of continuing at `sbbsecho.c:4700` and updating echocfg.c to allow setting it.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Thursday, October 30, 2025 15:43:13
    https://gitlab.synchro.net/main/sbbs/-/issues/1001#note_7811

    Too much magic here for me to hack it in I think.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Thursday, October 30, 2025 16:50:00
    https://gitlab.synchro.net/main/sbbs/-/issues/1001#note_7812

    Basically, I would configure like this:
    ```
    [robot:The Clans League BD]
    SemFile = /sbbs/data/clansibbs.now
    KeepMSG = yes
    ```
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Friday, October 31, 2025 22:26:28
    https://gitlab.synchro.net/main/sbbs/-/issues/1001#note_7826

    It's returning zero, so it's deleting the MSG file before it's touching the semaphore. :laughing:

    ```
    2025-11-01 05:15:38 SBBSecho 3.31-FreeBSD master/320d6a775 Nov 01 2025 Clang 19.1.7 (PID 46916) invoked with options: -ce
    2025-11-01 05:15:38 Configured: 1 archivers, 11 linked-nodes, 0 echolists 2025-11-01 05:15:38 NetMail directory: /sbbs/fido/netmail/
    2025-11-01 05:15:38 Secure Inbound directory: /sbbs/fido/inbsecure/
    2025-11-01 05:15:38 Non-secure Inbound directory: /sbbs/fido/inbound/ 2025-11-01 05:15:38 Outbound (BSO root) directory: /sbbs/fido/outbound 2025-11-01 05:15:38 Read 12 areas from ../data/areas.bbs
    2025-11-01 05:15:38 Read 6 areas from ../data/badareas.lst
    2025-11-01 05:15:38 Read 12 echo statistics from ../data/echostats.ini 2025-11-01 05:15:38 Importing /sbbs/fido/inbsecure/a9dguqf9.pkt (type 2+, 0.3KB) from 885:1/1 to 885:1/3
    2025-11-01 05:15:38 Sanitized message attributes (LOCAL) at offset 111 of packet: /sbbs/fido/inbsecure/a9dguqf9.pkt
    2025-11-01 05:15:38 The Clans League BD (885:1/1) To: The Clans League BD (885:1/3) NetMail received for robot: The Clans League BD
    2025-11-01 05:15:38 The Clans League BD (885:1/1) To: The Clans League BD (885:1/3) Exported to /sbbs/fido/netmail/1.msg
    2025-11-01 05:15:38 Deleting /sbbs/fido/inbsecure/a9dguqf9.pkt (from line 6452) 2025-11-01 05:15:38 /sbbs/fido/netmail/1.msg The Clans League BD (885:1/1) To: The Clans League BD (885:1/3) NetMail received for robot: The Clans League BD
    2025-11-01 05:15:38 Deleting /sbbs/fido/netmail/1.msg (from line 7139) 2025-11-01 05:15:38 Touching robot semfile: /sbbs/data/clansibbs.now
    2025-11-01 05:15:38 Writing 6 areas to ../data/badareas.lst
    2025-11-01 05:15:38 Deleting /sbbs/ctrl/sbbsecho.bsy (from line 3231) 2025-11-01 05:15:38 SBBSecho (PID 46916) exiting with error level 0, Packets(1 imported, 0 sent)
    ```
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Friday, October 31, 2025 22:32:02
    https://gitlab.synchro.net/main/sbbs/-/issues/1001#note_7827

    Adding a new `IMPORT_ROBOT_MSG = 14` and returning *that* does work though...

    ```
    2025-11-01 05:30:39 SBBSecho 3.31-FreeBSD master/320d6a775 Nov 01 2025 Clang 19.1.7 (PID 47735) invoked with options: -ce
    2025-11-01 05:30:39 Configured: 1 archivers, 11 linked-nodes, 0 echolists 2025-11-01 05:30:39 NetMail directory: /sbbs/fido/netmail/
    2025-11-01 05:30:39 Secure Inbound directory: /sbbs/fido/inbsecure/
    2025-11-01 05:30:39 Non-secure Inbound directory: /sbbs/fido/inbound/ 2025-11-01 05:30:39 Outbound (BSO root) directory: /sbbs/fido/outbound 2025-11-01 05:30:39 Read 12 areas from ../data/areas.bbs
    2025-11-01 05:30:39 Read 6 areas from ../data/badareas.lst
    2025-11-01 05:30:39 Read 12 echo statistics from ../data/echostats.ini 2025-11-01 05:30:39 Importing /sbbs/fido/inbsecure/oey5pvuq.pkt (type 2+, 0.3KB) from 885:1/1 to 885:1/3
    2025-11-01 05:30:39 Sanitized message attributes (LOCAL) at offset 111 of packet: /sbbs/fido/inbsecure/oey5pvuq.pkt
    2025-11-01 05:30:39 The Clans League BD (885:1/1) To: The Clans League BD (885:1/3) NetMail received for robot: The Clans League BD
    2025-11-01 05:30:39 The Clans League BD (885:1/1) To: The Clans League BD (885:1/3) Exported to /sbbs/fido/netmail/1.msg
    2025-11-01 05:30:39 import_netmail() returned 14
    2025-11-01 05:30:39 Deleting /sbbs/fido/inbsecure/oey5pvuq.pkt (from line 6453) 2025-11-01 05:30:39 /sbbs/fido/netmail/1.msg The Clans League BD (885:1/1) To: The Clans League BD (885:1/3) NetMail received for robot: The Clans League BD
    2025-11-01 05:30:39 import_netmail(/sbbs/fido/netmail/1.msg) returned 14 2025-11-01 05:30:39 Touching robot semfile: /sbbs/data/clansibbs.now
    2025-11-01 05:30:39 Writing 6 areas to ../data/badareas.lst
    2025-11-01 05:30:39 Deleting /sbbs/ctrl/sbbsecho.bsy (from line 3231) 2025-11-01 05:30:39 SBBSecho (PID 47735) exiting with error level 0, Packets(1 imported, 0 sent)
    ```
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab issue in main/sbbs on Friday, October 31, 2025 23:25:29
    close https://gitlab.synchro.net/main/sbbs/-/issues/1001
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)