Subj : Script to process fidomail
To   : Sean Rima
From : Janis Kracht
Date : Thu Aug 25 2022 05:28 pm

Hi Sean,

> 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 :)

Take care,
Janis

--- BBBS/Li6 v4.10 Toy-6
* Origin: Prism bbs (1:261/38)