• MO Sys

    From Gord Hannah@1:17/23.1 to Bob Jones on Tue Oct 23 11:39:28 2001
    * Reply to a message in RGN17-ADMIN.

    Replying to a message from Bob Jones 1:343/41 to Gord Hannah,

    About MO Sys, On Mon Oct 22 2001


    IRex, which protocols are being used? [FTP, Telnet, BinkP, etc.]

    IRex via ftp.

    Ok. Two comments.... (1) From my perspective fidonet mail via FTP protocol is a kludge. You can loose mail packets if your scripts,
    software and your uplink's scripts don't properly compensate for
    file naming issues within fidonet. (2) What ever script you are
    using to make the FTP connection, when it exits, you should test for received mail and at that point spawn or startup your squish
    processing.

    Ok sounds fair enough.

    And when you say binkley "exits to do the mail run", is binkley
    exiting to bring up your TCP/IP connection, use IRex to transfer
    fidonet packets, and then recycle back to binkley when done, or is
    binkley exiting because it directly received mail? From the above,
    it sounds like the first, not the second, that you are trying to get

    First is correct.

    Ok. When the FTP session from IREX to your uplink finishes, does
    IREX exit? Once IREX exits, does InJoy exit automatically (i.e.
    shuts down the modem connection and exits allowing the command file
    that started InJoy to contine)? If so, then it is fairly easy to

    Yes it does the connection is broken with killjoy via cron, then bink can take over.

    If IREX and INJOY are properly exiting, after InJoy exits and you
    restart Binkley, you can add a test in your .CMD script similar to
    the following as a single line:

    As my setup exists now all works as advertised, I have used this combination for just about 1 year now with no failures.

    Hope this helps. Keep us posted.

    We are a fine board trying to make it better.
    http://www.pris.bc.ca/ghannah
    ghannah@pris.bc.ca
    Cheers! Gord
    -=Team OS/2=-
    --- timEd/2 1.10.y2k+
    * Origin: Marsh BBS (c) [Dawson Creek BC Canada] 1-250-786-7921 (1:17/23.1)
  • From Gord Hannah@1:17/23.1 to Bob Jones on Tue Oct 23 11:43:35 2001
    * Reply to a message in RGN17-ADMIN.

    Replying to a message from Bob Jones 1:343/41 to Gord Hannah,

    About MO Sys, On Mon Oct 22 2001

    I just did this one up, seeing that I ma not that good at .cmd and
    .bat files look for errors and see if it may be a big
    wreck. Timed can be called separately.

    mailonly.cmd:

    :START
    h:
    cd\binkley
    binkley
    if errorlevel 150 goto toss
    if errorlevel 99 goto toss
    if errorlevel 97 goto toss
    if errorlevel 95 goto toss
    if errorlevel 25 got to getmail

    So far, seems reasonable. binkley is usually BT32 or something like that....

    I renamed bt23 to Binkley, I may also need to do some more errorlevel work if memory serves as bink needs them to answer the call and will go to a text file stating that this is a Mail Only system and an alternate way of contacting me.

    :TOSS
    h:
    cd\mail\inbound
    if exist *.tic goto tick
    if exist nodediff.* goto nodelist

    Note: If you get your nodelist with tic's, the if exist nodediff.*
    isn't going to get executed, because you will first jump and process
    the tic's....

    I can change this around sound good to me.

    "ECHO ON" and "PAUSE" statements as needed to see what's happening
    and help in debugging.

    Good advice.

    Hope this helps. Keep us posted.

    We are a fine board trying to make it better.
    http://www.pris.bc.ca/ghannah
    ghannah@pris.bc.ca
    Cheers! Gord
    -=Team OS/2=-
    --- timEd/2 1.10.y2k+
    * Origin: Marsh BBS (c) [Dawson Creek BC Canada] 1-250-786-7921 (1:17/23.1)
  • From Bob Jones@1:343/41 to Gord Hannah on Wed Oct 24 01:51:12 2001
    I just did this one up, seeing that I ma not that good at .cmd and
    .bat files look for errors and see if it may be a big
    wreck. Timed can be called separately.

    mailonly.cmd:
    ...
    I renamed bt23 to Binkley, I may also need to do some
    more errorlevel work if memory serves as bink needs
    them to answer the call and will go to a text file
    stating that this is a Mail Only system and an
    alternate way of contacting me.

    Note: Under OS/2 one typically uses BBS SPAWN option in Binkley instead of the
    method that exits with an error level, at least if using the OS/2 native version of software. If your flaged as mail only on all events in Binkley.evt file, the one liner in the Binkley.CFG is sent and I believe you don't have to worry about this issue. But, it is probably better to have the BBS SPAWN option setup right just to be safe.

    :TOSS
    h:
    cd\mail\inbound
    if exist *.tic goto tick
    if exist nodediff.* goto nodelist

    Note: If you get your nodelist with tic's, the if exist nodediff.*
    isn't going to get executed, because you will first jump and process
    the tic's....

    I can change this around sound good to me.

    Think it through before you change it. Do you need the TIC files to be processed before you play with the nodelist compilation? If so, the order you are doing things in is correct, it's just that you have a test that under normal situations won't be exercised. On the other hand, if your NC or RC dumps you a nodediff without a .TIC file associated with it, your line will handle that situation. In my case, I need the .TIC file processed first (which
    validates my source of the nodediff) and actually moves the nodediff to where the nodelist processing obtains the file. My comment was made to have you think it through, not to necessarily make the change. Sometimes, a line like that is explicitly added by the author to catch special situations. Some times
    it is because the author hasn't thought through the processing. Think through the processing order and then decide if you want to keep the line where it is, delete the line or move the line.

    "ECHO ON" and "PAUSE" statements as needed to see what's happening
    and help in debugging.

    Good advice.

    Take care.....

    Bob Jones, 1:343/41


    --- Maximus/2 3.01
    * Origin: Top Hat 2 BBS (1:343/41)
  • From Bob Jones@1:343/41 to Gord Hannah on Wed Oct 24 02:00:40 2001
    Ok. When the FTP session from IREX to your uplink finishes, does
    IREX exit? Once IREX exits, does InJoy exit automatically (i.e.
    shuts down the modem connection and exits allowing the command file
    that started InJoy to contine)? If so, then it is fairly easy to

    Yes it does the connection is broken with killjoy via
    cron, then bink can take over.

    If IREX and INJOY are properly exiting, after InJoy exits and you
    restart Binkley, you can add a test in your .CMD script similar to
    the following as a single line:

    As my setup exists now all works as advertised, I have
    used this combination for just about 1 year now with no
    failures.

    So, what were you after? Trying to keep from having to kill InJoy via a cron job to get things to recycle to binkley (to restart the fidonet mailer)? If so, two options: (a) Is there a hook you can use when IREX exits (like modifying the command file running IREX to run killjoy instead of the CRON job)? And (b) Is there an idle shutdown setting available in InJoy that would
    work for your situation? The later would allow you to use the box for other internet related activity and allow that processing to complete before recycling to Binkley.

    Take care.....

    Bob Jones, 1:343/41


    --- Maximus/2 3.01
    * Origin: Top Hat 2 BBS (1:343/41)