1#!/bin/rc 2 3cd /mail/box/$user 4>>_bounced 5>>L.spam 6chmod +arw _bounced 7>>_prof.mbox 8>>_prof.spam 9if(! test -s _prof.mbox) 10 cp /mail/lib/prof.mbox _prof.mbox 11if(! test -s _prof.spam) 12 cp /mail/lib/prof.spam _prof.spam 13chmod +lrw _prof.mbox _prof.spam 14chmod +lrw L.spam 15>>spam 16chmod +alrw spam 17i=0 18if(test -f pipeto){ 19 while(test -f pipeto.$i) 20 i=`{echo 1+$i |hoc} 21 mv pipeto pipeto.$i 22 echo saved pipeto as pipeto.$i 23} 24cp /mail/lib/pipeto.bayes pipeto 25chmod 775 pipeto 26