• Re: Script to process fidomail

    From Sean Rima@2:263/1 to Alan Ianson on Fri Aug 26 17:38:02 2022
    Alan Ianson wrote to Sean Rima <=-

    Has anyone got a script that they are using to process fidonet mail as
    it is
    received. I am struggling with a second net, who processes file echos
    from
    Fidonet. so my BBBS just ignores the second file.

    Are you having an issue with the APOD area? I sometimes get an issue
    like that with the epod area myself. I have been considering renaming
    the files hatched in fsxNet with a different filename. If I know others had issues I would do that for the apod hatches.


    Yeah that's the issue I am hitting. I have put it onto a every 1 minute process to get around it, so far so good. It just happens that sometimes, that both send me the same file almost at the same time

    I was running bbbs bogus W/B and bbbs btick from a bash script. I feel
    doing
    i every minute is a waste of resources

    I run my mailin.sh script every three minites and it seems to work well for me as long as there are no dupelicate filenames.

    There was another way with modem calls to have BBBS exit and do mail and files but I don't think there is a way from ./bbbsd, at least not that I know of.


    I have been using a basic script. Maybe I will push the boundary of my shell scripting :)

    Sean


    ... TCOB1 - binkd.thecivv.ie

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: TCOB1 - binkd.thecivv.ie (2:263/1)
  • From Sean Rima@2:263/1 to Janis Kracht on Fri Aug 26 17:38:02 2022
    Janis Kracht wrote to Sean Rima <=-
    Has anyone got a script that they are using to process fidonet mail as
    it is
    received. I am struggling with a second net, who processes file echos
    from
    Fidonet. so my BBBS just ignores the second file.

    I was running bbbs bogus W/B and bbbs btick from a bash script. I feel
    doing i
    every minute is a waste of resources

    I still use the cronfile I set up years ago.. it works well for me:

    */10 * * * * /home/bbbs/mailin.sh
    */16 * * * * /home/bbbs/mailout.sh

    mailin.sh:
    #!/bin/sh
    cd /home/bbbs
    ./bbbs bogus w > /dev/null 2>&1
    ./bbbs btick > /dev/null 2>&1
    exit


    mailout.sh:
    #!/bin/sh
    cd /home/bbbs
    ./bbbs bogus r > /dev/null 2>&1
    exit

    so I run mailin.sh every 10 min. and mailout.sh every 16 min.

    Works for me :)



    I will try that

    Sean


    ... TCOB1 - binkd.thecivv.ie

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: TCOB1 - binkd.thecivv.ie (2:263/1)