#/bin/sh before () { if [ -e /tmp/tracing ] then ssh -t -x root@localhost exec rm -f /tmp/tracing fi touch /tmp/tracing } post1000 () { for h in 0 1 2 3 4 5 6 7 8 9 do for z in 0 1 2 3 4 5 6 7 8 9 do for e in 0 1 2 3 4 5 6 7 8 9 do echo -n $h$z$e awk \" } \ !/Message-ID/ { print \$0 } \ " \ | sendmail -i posting+$h$z$e@dev12.dev.de.cw.net done done done } postdup () { echo ----------------------------------------------------------- #./lmtp2nntp -h news-muc1.de.cw.net -h news-ffm2.de.cw.net -h news-dus2.de.cw.net -h news-ecrc.de #clear ; ./lmtp2nntp \" } \ !/Message-ID/ { print \$0 } \ " \ >/tmp/testmessage echo ----------------------------------------------------------- cat /tmp/testmessage \ | sendmail -i posting+x@dev12.dev.de.cw.net echo ----------------------------------------------------------- cat /tmp/testmessage \ | sendmail -i posting+x@dev12.dev.de.cw.net echo ----------------------------------------------------------- } after () { if [ -r /tmp/tracing ] then echo tail -f /tmp/tracing tail -f /tmp/tracing fi } before post1000 after exit 0