#!/bin/sh PATH=/home/tito/bin:/usr/local/bin:/usr/bin:/bin testhost localhost -s if [ $? -ne 0 ]; then exit 1; fi cd $HOME/tmp m2n.pl local.linuxusers tito@localpost $HOME/Mail/linux-users-spool/[0-9]* if [ ! -s batch ]; then exit 1; fi cp batch batch-posted /usr/news/bin/innxmit -v localhost `pwd`/batch if [ $? -ne 0 ]; then exit 1; fi if [ ! -f batch ]; then rm `cat batch-posted` rm batch-posted exit 0 fi exit 1