• SMBUTIL

    From Daryl Stout@VERT/TBOLT to All on Wednesday, May 18, 2016 01:54:55
    I am trying to get an autopost routine set up with SMBUTIL, but I can not get the command structure right.

    I want to use my first and last name in the message (since some networks require a full name), plus importing the data from an external textfile, and posting it to a particular group.

    A fellow Sysop had sent me his batchfile that he uses, but I can not get it to work right on mine. First, the syntax was obviously wrong, as it said a certain area didn't exist. Then, when I changed a parameter, it appeared to work, but below it, it said "empty", and nothing was posted.

    Any assistance would be greatly appreciated. However, with stormy weather forecast in central Arkansas for the next few days, there's no rush on a reply...because if storms develop or threaten the area, I shut down and unplug, to avoid a lightning strike taking everything out.

    Daryl Stout, WX1DER, Sysop
    The Thunderbolt BBS
    Little Rock, Arkansas

    ---
    þ Synchronet þ The Thunderbolt BBS - Little Rock, AR - wx1der.dyndns.org
  • From Bill McGarrity@VERT to Daryl Stout on Wednesday, May 18, 2016 12:55:00
    Daryl Stout wrote to All <=-

    I am trying to get an autopost routine set up with SMBUTIL, but I can not get the command structure right.

    I want to use my first and last name in the message (since some
    networks require a full name), plus importing the data from an external textfile, and posting it to a particular group.

    A fellow Sysop had sent me his batchfile that he uses, but I can not
    get it to work right on mine. First, the syntax was obviously wrong, as
    it said a certain area didn't exist. Then, when I changed a parameter,
    it appeared to work, but below it, it said "empty", and nothing was posted.

    Any assistance would be greatly appreciated. However, with stormy weather forecast in central Arkansas for the next few days, there's no rush on a reply...because if storms develop or threaten the area, I
    shut down and unplug, to avoid a lightning strike taking everything
    out.

    There are two text files I create. One is the actual text of what you want posted in the msg itself. The other is a "header" file. The header file should be structered as such:

    (To:)
    (From:)
    (Subject:)

    You'll not be using anything within the quotes so it would actually look like this:

    All
    Daryl Stout
    Here is my subject matter

    Save that as a txt file. I usually give them a .HDR extension.

    Now, the SMBUTIL command:

    smbutil ic:\sbbs\nhl\nhlbrac.txt c:\sbbs\data\subs\2nhl.shd < c:\sbbs\exec\nhlbrac.hdr
    ^^^ Header file
    ^^^ Sub you want it posted in
    ^^^ Name of file you want imported
    ^^^ "i" sysop rights

    That should do it for you...


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    === MultiMail/Win32 v0.50
    --- SBBSecho 3.00-Win32
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Digital Man@VERT to Daryl Stout on Wednesday, May 18, 2016 11:10:58
    Re: SMBUTIL
    By: Daryl Stout to All on Wed May 18 2016 01:54 am

    I am trying to get an autopost routine set up with SMBUTIL, but I can not get the command structure right.

    I want to use my first and last name in the message (since some networks require a full name), plus importing the data from an external textfile, and posting it to a particular group.

    A fellow Sysop had sent me his batchfile that he uses, but I can not get it to work right on mine. First, the syntax was obviously wrong, as it said a certain area didn't exist. Then, when I changed a parameter, it appeared to work, but below it, it said "empty", and nothing was posted.

    Any assistance would be greatly appreciated.

    I would need to see the batch file to provide any meaningful assistance.

    digital man

    Synchronet "Real Fact" #80:
    Vertrauen has had the FidoNet node number 1:103/705 since 1992.
    Norco, CA WX: 68.6øF, 70.0% humidity, 6 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Daryl Stout@VERT/TBOLT to BILL MCGARRITY on Wednesday, May 18, 2016 14:43:00
    Bill,

    There are two text files I create. One is the actual text of what you want BM>posted in the msg itself. The other is a "header" file. The header file BM>should be structered as such:

    (To:)
    (From:)
    (Subject:)

    You'll not be using anything within the quotes so it would actually look lik BM>this:

    All
    Daryl Stout
    Here is my subject matter

    Save that as a txt file. I usually give them a .HDR extension.

    Now, the SMBUTIL command:

    smbutil ic:\sbbs\nhl\nhlbrac.txt c:\sbbs\data\subs\2nhl.shd < BM>c:\sbbs\exec\nhlbrac.hdr
    ^^^ Heade
    file
    ^^^ Sub you want it posted in
    ^^^ Name of file you want imported
    ^^^ "i" sysop rights

    That should do it for you...

    Thanks...appreciate it much.

    Two other notes...

    1) I noted that I needed a starter message in the area FIRST before
    SMBUTIL would work.

    2) I never did hear back from the SportNet coordinator.

    Daryl

    ---
    þ OLX 1.53 þ Excessive mouse activity detected. Running CAT.EXE to fix
    þ Synchronet þ The Thunderbolt BBS - Little Rock, AR - wx1der.dyndns.org
  • From Daryl Stout@VERT/TBOLT to DIGITAL MAN on Wednesday, May 18, 2016 14:44:00
    Rob,

    I would need to see the batch file to provide any meaningful assistance.

    @echo off
    c:
    set sbbsctrl=c:\sbbs\ctrl
    set sbbsnode=1
    cd\sbbs\exec
    smbutil i\newbbswk\testmsg.txt -i -tALL -fDaryl_Stout -s"Test Message: c:\sbbs\data\subs\local-lcltest.shd

    I created an NA file for each message board, as it was easier to import
    things that way.

    When I originally tried to post something, it would say "Empty". So, I
    posted a message in the areas first to "activate them".

    The batchfile did work, once it had a "starter message".

    Daryl

    ---
    þ OLX 1.53 þ If you fly by the seat of your pants, don't eat prunes.
    þ Synchronet þ The Thunderbolt BBS - Little Rock, AR - wx1der.dyndns.org
  • From Digital Man@VERT to Daryl Stout on Wednesday, May 18, 2016 15:32:28
    Re: SMBUTIL
    By: Daryl Stout to DIGITAL MAN on Wed May 18 2016 02:44 pm

    Rob,

    I would need to see the batch file to provide any meaningful assistance.

    @echo off
    c:
    set sbbsctrl=c:\sbbs\ctrl
    set sbbsnode=1
    cd\sbbs\exec
    smbutil i\newbbswk\testmsg.txt -i -tALL -fDaryl_Stout -s"Test Message: c:\sbbs\data\subs\local-lcltest.shd

    There apears to be a missing '"' character.

    And if you want your "from" name to be "Daryl Stout" instead of "Daryl_Stout", just use quotes, like so on the command-line (verbatim):

    "-fDaryl Stout"

    I created an NA file for each message board, as it was easier to import things that way.

    When I originally tried to post something, it would say "Empty". So, I posted a message in the areas first to "activate them".

    The batchfile did work, once it had a "starter message".

    Adding the -c option would do the same thing (create the base if it doesn't exist).

    digital man

    Synchronet/BBS Terminology Definition #21:
    FTN = FidoNet Technology Network
    Norco, CA WX: 75.7øF, 54.0% humidity, 15 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Bill McGarrity@VERT to Daryl Stout on Wednesday, May 18, 2016 19:14:00
    Daryl Stout wrote to BILL MCGARRITY <=-


    There are two text files I create. One is the actual text of what you want
    posted in the msg itself. The other is a "header" file. The header file
    should be structered as such:

    (To:)
    (From:)
    (Subject:)

    You'll not be using anything within the quotes so it would actually look
    ik
    this:

    All
    Daryl Stout
    Here is my subject matter

    Save that as a txt file. I usually give them a .HDR extension.

    Now, the SMBUTIL command:

    smbutil ic:\sbbs\nhl\nhlbrac.txt c:\sbbs\data\subs\2nhl.shd <
    c:\sbbs\exec\nhlbrac.hdr
    ^^^
    eade
    file
    ^^^ Sub you want it posted in
    ^^^ Name of file you want imported
    ^^^ "i" sysop rights

    That should do it for you...

    Thanks...appreciate it much.

    Two other notes...

    1) I noted that I needed a starter message in the area FIRST before SMBUTIL would work.

    Ahhh.. ok. Never knew that.


    2) I never did hear back from the SportNet coordinator.


    I was just thinking of that when I posted the message to you. I haven't heard from Eric so I'll get things processed on my end.

    Thanks!!



    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    === MultiMail/Win32 v0.50
    --- SBBSecho 3.00-Win32
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Daryl Stout@VERT/TBOLT to DIGITAL MAN on Thursday, May 19, 2016 08:54:00
    Hi, Rob

    @echo off
    c:
    set sbbsctrl=c:\sbbs\ctrl
    set sbbsnode=1
    cd\sbbs\exec
    smbutil i\newbbswk\testmsg.txt -i -tALL -fDaryl_Stout -s"Test Message: c:\sbbs\data\subs\local-lcltest.shd

    There apears to be a missing '"' character.

    Yeah, fat finger syndrome. I haven't yet found a diet for fat fingers.


    And if you want your "from" name to be "Daryl Stout" instead of "Daryl_Stout DM>just use quotes, like so on the command-line (verbatim):

    "-fDaryl Stout"

    That will work...thanks.

    Adding the -c option would do the same thing (create the base if it doesn't DM>exist).

    Good to know...thanks.

    The only other issues for me are to:

    1) Get the rest of the autopost batchfiles set up
    2) Figure out why SBBSECHO isn't importing packets (saying the tags are
    wrong, and noting them as "passthru").
    3) Make sure SBBSECHO is sending outbound packets to the right hub
    (since it looks like it's going into one directory).

    The problem with these is that:

    A) I'm doing all the driving, shopping, etc. for my Mom (who'll be 90
    this fall)...which I don't mind doing.

    B) It has been a very stormy spring around here, with several days of thunderstorms. That has meant very little time for BBS work.

    Otherwise, everything is working.

    Also, that's a neat deal with the Ham Radio tests...if renewal meant re-testing, I'd flunk. :P

    Daryl, WX1DER

    ---
    þ OLX 1.53 þ A successful diet is the triumph of mind over platter.
    þ Synchronet þ The Thunderbolt BBS - Little Rock, AR - wx1der.dyndns.org
  • From Daryl Stout@VERT/TBOLT to BILL MCGARRITY on Thursday, May 19, 2016 08:55:00
    Bill,

    1) I noted that I needed a starter message in the area FIRST before SMBUTIL would work.

    Ahhh.. ok. Never knew that.

    Rob said a -c command would create the base, so that wasn't necessary.

    I was just thinking of that when I posted the message to you. I haven't hea BM>from Eric so I'll get things processed on my end.

    Good deal. I might be a bit delayed in responding. More storms are
    forecast later today through Friday...then a dry weekend, but storms are
    back by Tuesday. The inclement weather has meant little time for BBS
    work.

    Daryl

    ---
    þ OLX 1.53 þ BBS?? Yeah, I do BBS...but, I can control it.
    þ Synchronet þ The Thunderbolt BBS - Little Rock, AR - wx1der.dyndns.org