• Re: Automatic Tossing of Inbound Mail

    From Zazz@1:124/5014 to Janis Kracht on Wednesday, February 26, 2020 14:55:15
    ===cut here Dial-out node 2=== #sign lines are commented out!===
    #!/bin/sh # this line only for linux
    cd /home/bbbs
    BBBSLANG en_US.utf8
    while :
    do
    cd /home/bbbs
    ./bbbs 2 2 TCPIP
    #
    RC=$?
    echo BBBS RC: $RC

    # if [ $RC = 137 ]; then
    # exit
    # fi

    # set this errorlevel in Global: FidoNet: Sessions: Mail errorlevel
    # if [ $RC = 11 ];
    # then nohup /home/bbbs/mailin.sh &
    # fi
    # Above commented out since I run mailin.sh in a cron job now.
    # set this errorlevel in Global: FidoNet: Sessions: User mail errl.
    # if [ $RC = 12 ];
    # then nohup /home/bbbs/mailout.sh &
    # fi

    if [ $RC = 0 ]; then
    exit
    fi

    reset

    done
    ===end of script====


    Is there a sample for windows?

    Ruben Figueroa aka Zazz
    Mystic Prison Board Sysop
    telnet://pbmystic.rdfig.net:24
    Web: www.rdfig.net

    --- Mystic BBS v1.12 A45 2020/02/09 (Windows/32)
    * Origin: Mystic Prison Board*Mesquite Tx*pb.darktech.org:24 (1:124/5014)