• BinkD exec

    From Avon@21:1/101 to All on Sat Feb 20 15:53:37 2021
    I'm trying to get BinkD to execute a script when files that have the
    following syntax arrive at 1/100

    z21n*.*

    I can't seem to crack it, any thoughts?

    If I explicitly state a set file extension the exec will trigger but I don't know what that will be. So I'm after a way to get it to look at the first
    four letters of the filename and then trigger on that.

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Black Panther@21:1/186 to Avon on Fri Feb 19 20:26:26 2021
    On 20 Feb 2021, 03:53p, Avon said the following...

    I'm trying to get BinkD to execute a script when files that have the following syntax arrive at 1/100

    z21n*.*

    I can't seem to crack it, any thoughts?

    I'm not sure if you meant to post this in the test echo or not, but I'll reply here. ;)

    What I'm doing in my binkd.cfg file, is something like:

    exec "~/mystic/rcs/fsxnet/stats.sh" fsxnet.z??

    It should work with:

    exec "~/path/to/makenl/makenl.sh" z21n*.*

    or

    exec "~/path/to/makenl/makenl.sh" z21n?.???


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2021/01/14 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (21:1/186)
  • From deon@21:2/116 to Avon on Sat Feb 20 15:26:46 2021
    Re: BinkD exec
    By: Avon to All on Sat Feb 20 2021 03:53 pm

    I'm trying to get BinkD to execute a script when files that have the following syntax arrive at 1/100
    z21n*.*

    Yeah, I havent looked at the code to see why, but on file receipt binkd only matches on wildcard extensions:

    eg: test.* z21.[abc]* etc

    If you want binkd to match on wildcard names, you need to prefix it with a full path.

    So in your case,

    exec "/usr/local/tools/myscript.sh" /fido/mailer/inbound/z21n*

    Should work.

    ...лоеп

    ... Confidence is the feeling you had before you knew better.
    --- SBBSecho 3.12-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116)
  • From Avon@21:1/101 to Black Panther on Sat Feb 20 21:18:54 2021
    On 19 Feb 2021 at 08:26p, Black Panther pondered and said...


    I'm not sure if you meant to post this in the test echo or not, but I'll reply here. ;)

    No it's and error whoops, will move this thread over to net ops.

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)