• Binkd not working

    From Rick Smith@1:105/10.1 to All on Sun Mar 14 10:21:38 2021
    Greetings All!

    I am in the process of moving my BBS (mystic,binkd,hpt) works flawlessly and as expected. I moved the everything to a new machine with same user name etc so all file structures are the same, the only thing changed is I had to build binkd which gave me a new version which is binkd-1.1a-112 and now no mail tosses at all it just sits in my inb. The first go after receiving mail as part of binkd.cfg it would run the exec line with my tosser but fail for some reason. I reinstalled now in bink log it shows creating semaphore but doesnt even attempt to run the exec line to run hpt... Has anyone else ran into this? The working copy on my bbs is -111 can perhaps someone give me a link to that?





    ----
    Regards,


    Rick Smith (Nitro)

    ... Taglines: the bumper stickers of BBSing.
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: ----> Abacus Sysop Point --->>>>bbs.abon.us:2323 (1:105/10.1)
  • From Michael Dukelsky@2:5020/1042 to Rick Smith on Sun Mar 14 21:34:16 2021
    Hello Rick,

    Sunday March 14 2021, Rick Smith wrote to All:

    I am in the process of moving my BBS (mystic,binkd,hpt) works
    flawlessly and as expected. I moved the everything to a new machine
    with same user name etc so all file structures are the same, the only thing changed is I had to build binkd which gave me a new version
    which is binkd-1.1a-112 and now no mail tosses at all it just sits in
    my inb. The first go after receiving mail as part of binkd.cfg it
    would run the exec line with my tosser but fail for some reason. I reinstalled now in bink log it shows creating semaphore but doesnt
    even attempt to run the exec line to run hpt... Has anyone else ran
    into this? The working copy on my bbs is -111 can perhaps someone
    give me a link to that?

    If you want to have the sources of binkd-1.1a-111, give this command:

    git checkout fbca4b0

    To return to the latest commit:

    git checkout master

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Moscow, Russia (2:5020/1042)
  • From Serg Podtynnyi@2:5030/3165 to Rick Smith on Sun Mar 14 21:30:54 2021
    Hello Rick!

    Sunday March 14 2021 10:21, you wrote to All:

    I am in the process of moving my BBS (mystic,binkd,hpt) works
    flawlessly and as expected. I moved the everything to a new machine
    with same user name etc so all file structures are the same, the only thing changed is I had to build binkd which gave me a new version
    which is binkd-1.1a-112 and now no mail tosses at all it just sits in
    my inb. The first go after receiving mail as part of binkd.cfg it
    would run the exec line with my tosser but fail for some reason. I reinstalled now in bink log it shows creating semaphore but doesnt
    even attempt to run the exec line to run hpt... Has anyone else ran
    into this? The working copy on my bbs is -111 can perhaps someone
    give me a link to that?

    If something doesn't run - always try to check the PATH and try to exec with absolute pathnames to binary and options for config.

    Serg

    --- GoldED+ NG/W64-MSVC
    * Origin: ----> Default GoldED Origin <---- (2:5030/3165)
  • From Alan Ianson@1:153/757 to Rick Smith on Sun Mar 14 16:01:56 2021
    Hello Rick,

    I am in the process of moving my BBS (mystic,binkd,hpt) works
    flawlessly and as expected. I moved the everything to a new machine
    with same user name etc so all file structures are the same, the only thing changed is I had to build binkd which gave me a new version
    which is binkd-1.1a-112 and now no mail tosses at all it just sits in
    my inb. The first go after receiving mail as part of binkd.cfg it
    would run the exec line with my tosser but fail for some reason. I reinstalled now in bink log it shows creating semaphore but doesnt
    even attempt to run the exec line to run hpt... Has anyone else ran
    into this? The working copy on my bbs is -111 can perhaps someone
    give me a link to that?

    You can use flag files (semaphores) if your tosser uses them, like Synchronet or you can use exec lines.

    I haven't used flag files for a while. I use an exec line like this with hpt..


    ==== Begin: "rick.txt" ====
    exec "/usr/local/bin/hpt-incoming.sh" *.[pP][kK][tT] *.[STFWMstfwm][ouaherOUAHER][0-9A-Za-z] *.[tT][iI][cC]
    ==== End: "rick.txt" ====

    That's all one line.

    Ttyl :-),
    Al

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From mark lewis@1:3634/12 to Alan Ianson on Sun Mar 14 19:18:35 2021
    Re: Binkd not working
    By: Alan Ianson to Rick Smith on Sun Mar 14 2021 16:01:56


    exec "/usr/local/bin/hpt-incoming.sh" *.[pP][kK][tT] *.[STFWMstfwm][ouaherOUAHER][0-9A-Za-z] *.[tT][iI][cC]

    what are the contents of hpt-incoming.sh?


    )\/(ark
    --- SBBSecho 3.11-Linux
    * Origin: SouthEast Star Mail HUB - SESTAR (1:3634/12)
  • From Alan Ianson@1:153/757 to mark lewis on Sun Mar 14 16:43:57 2021
    Hello mark,

    exec "/usr/local/bin/hpt-incoming.sh" *.[pP][kK][tT]
    *.[STFWMstfwm][ouaherOUAHER][0-9A-Za-z] *.[tT][iI][cC]

    I have another exec line below that one that touches dotic.now to signal htick to toss incoming files.


    ==== Begin: "mark.txt" ====
    exec "! touch /usr/local/fido/dotic.now" *.[tT][iI][cC]
    ==== End: "mark.txt" ====

    what are the contents of hpt-incoming.sh?


    ==== Begin: "hpt-incoming.sh" ====
    #!/bin/bash
    # This script will run HPT on incoming to toss & pack mail

    hpt -q toss link
    htick -q scan
    hpt -q pack

    if [ -f /usr/local/fido/dotic.now ]; then
    rm /usr/local/fido/dotic.now
    /usr/local/bin/htick toss
    /usr/local/bin/mfreq-index
    fi
    ==== End: "hpt-incoming.sh" ====

    Ttyl :-),
    Al

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)