• Exec

    From Joacim Melin@2:221/242 to All on Thursday, October 09, 2025 22:30:14
    Hi all,

    I'm trying to get the Exec parameter in binkd.cfg on Linux to work.

    I tried this (having no idea wth I'm doing...):

    exec "crashmail toss settings /etc/binkd/crashmail.prefs"

    Does not work, of course. What am I doing wrong here? I also tried it with the full path to Crashmail:

    exec "/usr/bin/crashmail toss settings /etc/binkd/crashmail.prefs"

    Same result:

    ? 09 Oct 23:07:48 [10527] the syntax is incorrect for 'exec' ? 09 Oct 23:07:48 [10527] error in configuration, using old config

    Any ideas?

    Thanks.


    --- NiKom v2.6.0
    * Origin: Delta City (deltacity.se, Vallentuna, Sweden) (2:221/242.0)
  • From Wilfred van Velzen@2:280/464 to Joacim Melin on Thursday, October 09, 2025 23:20:54
    Hi Joacim,

    On 2025-10-09 22:30:14, you wrote to All:

    I'm trying to get the Exec parameter in binkd.cfg on Linux to work.

    I tried this (having no idea wth I'm doing...):

    exec "crashmail toss settings /etc/binkd/crashmail.prefs"

    Does not work, of course. What am I doing wrong here? I also tried it with
    the full path to Crashmail:

    exec "/usr/bin/crashmail toss settings /etc/binkd/crashmail.prefs"

    Same result:

    ? 09 Oct 23:07:48 [10527] the syntax is incorrect for 'exec' ? 09 Oct 23:07:48
    [10527] error in configuration, using old config

    Any ideas?

    The exec line needs at least a second parameter, to specify on which files received it needs to be executed.

    So use * for all files.
    Or *.[pP][kK][tT] for packet files.

    There are plenty of examples for this in the binkd.conf example file! https://github.com/pgul/binkd/blob/master/binkd.conf


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.4-B20240523
    * Origin: FMail development HQ (2:280/464)
  • From Joacim Melin@2:221/242 to Wilfred van Velzen on Thursday, October 09, 2025 22:57:25
    Hi Joacim,

    On 2025-10-09 22:30:14, you wrote to All:

    I'm trying to get the Exec parameter in binkd.cfg on Linux to work.

    I tried this (having no idea wth I'm doing...):

    exec "crashmail toss settings /etc/binkd/crashmail.prefs"

    Does not work, of course. What am I doing wrong here? I also tried it
    with
    the full path to Crashmail:

    exec "/usr/bin/crashmail toss settings /etc/binkd/crashmail.prefs"

    Same result:

    ? 09 Oct 23:07:48 [10527] the syntax is incorrect for 'exec' ? 09 Oct 23:
    07:48
    [10527] error in configuration, using old config

    Any ideas?

    The exec line needs at least a second parameter, to specify on which files received it needs to be executed.

    So use * for all files.
    Or *.[pP][kK][tT] for packet files.

    There are plenty of examples for this in the binkd.conf example
    file! https://github.com/pgul/binkd/blob/master/binkd.conf

    Thank you Wilfred. That did it!

    Now I need to figure out the nodelist compiler but that's for another night...


    --- NiKom v2.6.0
    * Origin: Delta City (deltacity.se, Vallentuna, Sweden) (2:221/242.0)