Subj : incoming mail To : Rick Smith From : Stephen Walsh Date : Tue Aug 09 2022 10:44 am Hello Rick! 08 Aug 22 05:01, you wrote to me: SW>> Even though I'm running linux this is what my exec line looks SW>> like, and it get's executed every time: RS> Yeah my linux setups are just fine been doing those for years, Os2 is RS> a little finicky with things. I haven't used OS/2 in so long, the cheese has whole's in it. #;) SW>> The hpt-copy.sh makes a backup of the mail, in year/month/day SW>> directories, and then runs the hpt process's to do the mail. RS> Thats really cool... someone posted it to either here or another network. I have hpt creating the lockfile in it's config. ---cut me here--- #!/bin/bash if [ -f /husky/semafore/hpt ] then exit fi echo "copying packets" SECURE=/husky/inbound.sec BACKUPDIR=/husky/mail-backup pushd $BACKUPDIR if [ ! -d "`date +%Y`" ]; then mkdir `date +%Y` fi cd `date +%Y` if [ ! -d "`date +%m`" ]; then mkdir `date +%m` fi cd `date +%m` if [ ! -d "`date +%d`" ]; then mkdir `date +%d` fi cd `date +%d` find $SECURE -iname "*.pkt" -exec cp -p \{\} ./ \; find $SECURE -iname "*.PKT" -exec cp -p \{\} ./ \; for f in mo tu we th fr sa su; do find $SECURE -iname "*.${f}?" -exec cp -p \{\} ./ \; done /husky/bin/hpt toss sleep 2 /husky/bin/hpt afix /husky/bin/htick scan sleep 2 /husky/bin/hpt pack rm /husky/semafore/hpt ---cut me here--- Stephen --- GoldED+/LNX 1.1.5-b20220409 * Origin: Dragon's Lair BBS, Telnet: dragon.vk3heg.net (3:633/280) .