Subj : Re: Script to process fidomail To : Alan Ianson From : Sean Rima Date : Sat Aug 27 2022 03:53 pm -=> Alan Ianson wrote to Sean Rima <=- -=>> Sean Rima wrote to Alan Ianson <=- AI> AI>> Are you having an issue with the APOD area? I sometimes get an issue AI>> like that with the epod area myself. I have been considering >> renaming AI>> the files hatched in fsxNet with a different filename. If I know >> others AI>> had issues I would do that for the apod hatches. AI> SR>> Yeah that's the issue I am hitting. I have put it onto a every 1 >> minute SR>> process to get around it, so far so good. It just happens that SR>> sometimes, that both send me the same file almost at the same time AI> AI> OK, I have renamed slightly the files going into FSX_IMGE so that AI> shouldn't happen anymore for that area. Thank you sire :) BTW, I am again CM, with a new static ip :) AI> SR>> I have been using a basic script. Maybe I will push the boundary of >> my SR>> shell scripting :) AI> AI> Mine is also very basic. I have been meaning to beef it up for years but AI> I haven't gotten to it yet. ;) AI> AI> My script has a test for usermail.flg and if found runs a mail scan. AI> Something similar could be done based on gotmail.flg that is created on AI> received mail. I'll include it below. AI> AI> #!/bin/sh AI> # This script will toss incoming mail and files AI> AI> export TZUTC="-0700" AI> export TZ="PDT+7" AI> AI> cd /bbbs AI> ./bbbs bogus w >/dev/null 2>&1 AI> ./bbbs btick >/dev/null 2>&1 AI> ./bbbs bfilsort >/dev/null 2>&1 AI> ./bbbs bfileidx >/dev/null 2>&1 AI> touch /bbbs/work/rescan.2 AI> AI> # outgoing mail AI> AI> if [ -f /bbbs/work/usermail.flg ]; then AI> rm -f /bbbs/work/usermail.flg AI> cd /bbbs AI> ./bbbs bogus r > /dev/null 2>&1 AI> touch /bbbs/work/rescan.2 AI> fi AI> AI> AI> The above is my mailin.sh script. AI> That I will adapt to my own, thank you Sean .... TCOB1 - binkd.thecivv.ie --- BBBS/Li6 v4.10 Toy-5 * Origin: TCOB1 - binkd.thecivv.ie (2:263/1) .