#!/bin/csh
#mail-in	put mail into a spool file
#with locking.

# Change this to the incoming mail spool directory.
umask 77
cd /u1/mark/in

loop:
if(-e lock) then
   sleep 1
   goto loop
endif
# Edit path as appropriate
cat > in$$."`/u1/mark/bin/rnd`"

